shelly_pool/shelly_log

11 lines
252 B
Plaintext
Raw Normal View History

2022-04-21 09:32:57 +02:00
#!/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