From 14e71da17404045b99e1c1238440c87be7e7f891 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 9 Nov 2024 22:48:09 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index d4492ab1..4265e939 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -909,7 +909,7 @@ AMBIENT TEMP: ${OFFSITE_TEMP}'F" if [ "${startup}" = "true" ]; then echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${OFFSITE_VOLTIN}'volts - ${OFFSITE_WATTS}'watts - ${OFFSITE_BATT_CAP}'% Battery - ${OFFSITE_BATT_RUNTIME}'mins - Service startup" >> ${PW_LOGPOWER} echo "($(date +'%Y-%m-%d %H:%M:%S')) - ${OFFSITE_VOLTIN}'volts - ${OFFSITE_BATT_CAP}'% Battery - Service startup" >> ${PW_LOGFILE} - OFFSITE_SENDPOWER "OFFSITE POWER Service Startup" & + OFFSITE_SENDPOWER "OFFSITE MONITOR Service Startup" & startup=false fi @@ -1368,7 +1368,7 @@ SENDPOWER(){ } OFFSITE_SENDPOWER(){ - st_power=`${PW_SCRIPT} check power -o -p -r; ${PW_SCRIPT} check temp -o -S -r` + st_power=`${PW_SCRIPT} check temp -o -S -r; ${PW_SCRIPT} check power -o -p -r` SENDNOTICE "${1}" "${st_power}" 0 cosmic }