From 8483f70db3f57f3b6b5bceae76dd0fc57222b386 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 19 Jul 2025 15:15:14 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- inc/power.inc.sh | 2 +- inc/temp.inc.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults.inc b/defaults.inc index 4538316e..d2492ee9 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -PW_VERS='2.12.2-07192025' +PW_VERS='2.12.4-07192025' noheader=' update service dailytemp confsync -r -report test ' diff --git a/inc/power.inc.sh b/inc/power.inc.sh index b8476153..2e4dd177 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -1686,7 +1686,7 @@ SENDPOWER(){ } OFFSITE_SENDPOWER(){ - st_power=`${PW_SCRIPT} check temp -o -S -r -x usage; ${PW_SCRIPT} check power -o -p -r` + st_power=$(${PW_SCRIPT} check temp -o -S -r -x usage; ${PW_SCRIPT} check power -o -p -r) SENDNOTICE "${1}" "${st_power}" 0 cosmic } diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index c668dea3..0b33cd43 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -684,7 +684,7 @@ CHECKTEMP(){ done fi rm -f ${PW_TMPFOLDER}/.local.fanspeed.* - [ "${avgdays}" != "" ] && [ ${REPORT} -eq 0 ] && end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}script runtime: ${runtime}s" + ${REPORT} -eq 0 ] && end=`date +%s`; runtime=$((end-start)); echo -e "${idsCL[Default]}script runtime: ${runtime}s" [ ${REPORT} -eq 0 ] && [ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}" }