Skip to content

Commit

Permalink
make audioplay executable & fix mosquitto executable
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtatsch committed Sep 11, 2018
1 parent b27c13d commit 5ac9b22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file modified usr/bin/audioplay
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions usr/userscripts/detectionOn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ fi
# Publish a mqtt message
if [ "$publish_mqtt_message" = true ] ; then
. /etc/mqtt.conf
/usr/bin/mosquitto_pub.bin -h "$HOST" -p "$PORT" -u "$USER" -P "$PASS" -t "${TOPIC}"/motion ${MOSQUITTOOPTS} ${MOSQUITTOPUBOPTS} -m "ON"
/usr/bin/mosquitto_pub -h "$HOST" -p "$PORT" -u "$USER" -P "$PASS" -t "${TOPIC}"/motion ${MOSQUITTOOPTS} ${MOSQUITTOPUBOPTS} -m "ON"
if [ "$save_snapshot" = true ] ; then
/usr/bin/mosquitto_pub.bin -h "$HOST" -p "$PORT" -u "$USER" -P "$PASS" -t "${TOPIC}"/motion/snapshot ${MOSQUITTOOPTS} ${MOSQUITTOPUBOPTS} -f "$save_dir/$filename"
/usr/bin/mosquitto_pub -h "$HOST" -p "$PORT" -u "$USER" -P "$PASS" -t "${TOPIC}"/motion/snapshot ${MOSQUITTOOPTS} ${MOSQUITTOPUBOPTS} -f "$save_dir/$filename"
fi

fi
Expand Down

0 comments on commit 5ac9b22

Please sign in to comment.