9 lines
		
	
	
		
			226 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			226 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
source $(dirname $0)/shelly.conf
 | 
						|
 | 
						|
while true; do
 | 
						|
    echo -e "\n======================================================================\n" | tee -a ${LOGFILE}
 | 
						|
    nc -u -k -l $UDP_LOG_PORT | tee -a ${LOGFILE}
 | 
						|
done
 |