Update power.inc.sh
This commit is contained in:
@@ -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
|
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
|
echo 1a-2
|
||||||
HOSTMGMT mainsite -p on >/dev/null 2>&1
|
HOSTMGMT mainsite -p on
|
||||||
rm -f ${PW_TMPFOLDER}/.power.restored
|
rm -f ${PW_TMPFOLDER}/.power.restored
|
||||||
fi
|
fi
|
||||||
echo 1b
|
echo 1b
|
||||||
|
|||||||
Reference in New Issue
Block a user