Update offsite-power-check.sh
This commit is contained in:
@@ -99,7 +99,8 @@ PWO_STOP(){
|
||||
|
||||
PWO_RESTART() {
|
||||
PWO_STOP
|
||||
PWO_START
|
||||
sleep 2s
|
||||
PWO_START &
|
||||
|
||||
}
|
||||
|
||||
@@ -117,6 +118,7 @@ case $1 in
|
||||
git prune >/dev/null 2>&1
|
||||
git pull >/dev/null 2>&1
|
||||
# /bin/chmod +x /opt/idssys/powerwall/offsite-power-check.sh 2>&1
|
||||
PWO_RESTART
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user