Update powerwall.sh

This commit is contained in:
2023-11-04 10:59:12 -05:00
parent 5409ba74c1
commit 3254170dfa

View File

@@ -62,7 +62,7 @@ CHECKTEMP(){
# reading=$(CHECKTEMPSENSOR ${SENSOR} ${temp_c} ${temp_warn} ${temp_crit} ${sensorname// /_} ${1})
c=0; spc=''; spc1=`expr ${cw} - ${#sensorname} - 1`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}"
echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${temp_c} - ${reading}"
((t++))
done