From ab68a19601c4f0650f47c3a2c342bafbd34a4f16 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 9 Nov 2024 17:13:43 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 580ef51b..e45e40e5 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -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