Update power.inc.sh

This commit is contained in:
2024-11-09 17:13:43 -06:00
parent af81cb766d
commit ab68a19601

View File

@@ -982,7 +982,6 @@ AMBIENT TEMP: ${OFFSITE_TEMP}'F"
elif [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/power.ups.losscomm)) -ge 120 ]; then
echo "($(date +'%Y-%m-%d %H:%M:%S')) - 0.0'volts - 0'% Battery - Restarting NUT service" >> ${PW_LOGFILE}
# SENDNOTICE2 "NUT DRIVER FAILURE" "OMG WHAT DO WE DO, FIX ME!!! I used to be cool and say..... Restarting NUT service"
service nut-driver restart
sleep 10s
touch ${PW_TMPFOLDER}/power.ups.losscomm