Update power.inc.sh

This commit is contained in:
2023-12-17 16:40:16 -06:00
parent 876b3265f2
commit ddaaf3c68a

View File

@@ -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