Massive updates, added install for nc binary
This commit is contained in:
11
savesync-logger[start](permanent).ash
Normal file
11
savesync-logger[start](permanent).ash
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/ash
|
||||
#shellcheck shell=dash
|
||||
#
|
||||
. /recalbox/share/system/configs/savesync/savesync.conf
|
||||
|
||||
mosquitto_sub -h 127.0.0.1 -p 1883 -t "$TOPIC" | while IFS="=" read -r key value
|
||||
do
|
||||
case "$key" in
|
||||
"SaveLog") printf "%s\n" "$value" >> "$LOG_FILE" ;;
|
||||
esac
|
||||
done
|
||||
Reference in New Issue
Block a user