Update powerwall.sh

This commit is contained in:
2023-05-14 21:53:32 -05:00
parent 2ef6d01e5a
commit 6063da23d4

View File

@@ -17,7 +17,7 @@ CHECKTEMP(){
cw=20;
echo
echo -e "${idsCL[Yellow]}Sensor Temperature(s) ${idsCL[Green]}normal${idsCL[Default]} /${idsCL[Yellow]}warning${idsCL[Default]}/ ${idsCL[Red]}critical${idsCL[Default]}"
DIVIDER . . 80
DIVIDER . yellow 80
if [ "${1}" != "" ]; then
# reading=$(CHECKTEMPSENSOR ${1})
# c=0; spc=''; spc1=`expr ${cw} - ${#1}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done