From 5e08683bbb221ccacada0d2b2088819ffe84ad71 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Dec 2023 17:28:55 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 6cfa2088..bbbb7b56 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -94,8 +94,7 @@ CHECKTEMP(){ if [ "${SENSOR}" == "Powerwall-CPU" ] || [ "${SENSOR}" == "OctoPi-CPU" ]; then SENSOR="${SENSOR}-Usage" echo -en "${idsCL[Yellow]}Pulling data for '${SENSOR}' ... " - CHECKTEMPSENSOR ${SENSOR} - # reading=$(CHECKTEMPSENSOR ${SENSOR}) + reading=$(CHECKTEMPSENSOR ${SENSOR}) c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}" fi