From be1421e199199f85a6846cbf533e78f464770a6a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 14 Aug 2023 19:54:22 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/powerwall.sh b/powerwall.sh index 8fc16fc0..b7f32592 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -44,7 +44,9 @@ CHECKTEMP(){ temp_crit=$(echo ${sensordata} | cut -d'p' -f2 | awk '/ / {print $4}' | sed -e 's/C//g'); temp_crit=${temp_crit/ /} echo -en 2 reading=$(CHECKTEMPSENSOR ${SENSOR} ${temp_c} ${temp_warn} ${temp_crit}) + echo -en 3 c=0; spc=''; spc1=`expr ${cw} - ${#vSENSOR} - 1`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done + echo -en 4 echo -e "${idsCL[LightCyan]} ${vSENSOR}${spc}${idsCL[Default]}: ${reading}" done