better comment

This commit is contained in:
s2
2017-10-12 21:42:42 +02:00
parent bbba3ae061
commit 2cad5a1202

View File

@@ -1,8 +1,12 @@
#!/bin/bash
# script to set away state in zm when the phone is not present
# script to set away state in ZoneMinder when the phone is not present
# requires jq to be installed
curdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
#load configuration
. $curdir/isphonehere.config.sh
currentstate=
@@ -56,7 +60,7 @@ waitbeforeretry() {
fi
}
#so we know what state we are in
#read current state on startup, so we know what state we are in
setcurrentstate
#look for phone