tools
This commit is contained in:
10
shelly_log
Executable file
10
shelly_log
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
source $(dirname $0)/shelly.conf
|
||||
|
||||
LOGFILE=$SHELLY_HOST.log
|
||||
|
||||
while true; do
|
||||
echo -e "\n======================================================================\n" | tee -a ${LOGFILE}
|
||||
nc -u -k -l $UDP_LOG_PORT | tee -a ${LOGFILE}
|
||||
done
|
Reference in New Issue
Block a user