From 2f466e05aef5235fc2a753a85560faccd9d63c85 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 30 Dec 2023 15:07:16 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index 46a11b2e..366e0e27 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -563,7 +563,7 @@ Shutting down main servers" 1 } POWERLOGGER_SERVICE(){ - SENDPOWER "POWER LOGGING Service Startup" & + SENDNOTICE "POWER LOGGING Service Startup" "`${PW_SCRIPT} check power -p`" & while true; do LogDataTime=`date +'%Y-%m-%d %H:%M:%S'` source ${PW_FOLDER}/defaults.inc @@ -859,9 +859,7 @@ PDUCONTROL(){ } SENDPOWER(){ - SENDNOTICE "test" "testing 213123" & - st_power=`${PW_SCRIPT} check power -p` - SENDNOTICE "${1}" "${st_power}" & + SENDNOTICE "${1}" "`${PW_SCRIPT} check power -p`" & }