better comment
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user