changed topic and also added the -q 0 flag to mosquitto_sub
This commit is contained in:
@@ -65,7 +65,7 @@ else
|
||||
fi
|
||||
|
||||
# 5. Wait for response from daemon
|
||||
mosquitto_sub -h 127.0.0.1 -p 1883 -t "$TOPIC" | while IFS="=" read -r key value
|
||||
mosquitto_sub -h 127.0.0.1 -p 1883 -q 0 -t "$TOPIC" | while IFS="=" read -r key value
|
||||
do
|
||||
case "$key" in
|
||||
"SaveSync") call_exit "$value";;
|
||||
|
||||
Reference in New Issue
Block a user