diff --git a/inc/power.inc.sh b/inc/power.inc.sh index f17b3303..a60f2a35 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -397,7 +397,7 @@ BATT VOLTAGE: ${BATTVOLT}'volts" 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 echo 1a-2 - HOSTMGMT mainsite -p on >/dev/null 2>&1 + HOSTMGMT mainsite -p on rm -f ${PW_TMPFOLDER}/.power.restored fi echo 1b