update
This commit is contained in:
@@ -392,7 +392,7 @@ BATT VOLTAGE: ${BATTVOLT}'volts"
|
||||
touch ${PW_TMPFOLDER}/power.ac.good
|
||||
|
||||
elif [ -f ${PW_TMPFOLDER}/.power.restored ] && [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/.power.restored)) -ge $(echo "scale=0; ${PW_WAIT_TO_POWER_SERVERS}*60" | bc) ]; then
|
||||
HOSTMGMT mainsite -p on
|
||||
HOSTMGMT mainsite -p on >/dev/null 2>&1 &
|
||||
rm -f ${PW_TMPFOLDER}/.power.restored
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user