Update powerwall.sh
This commit is contained in:
@@ -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 . Yellow 80
|
||||
DIVIDER . Yellow 75
|
||||
if [ "${1}" != "" ]; then
|
||||
# reading=$(CHECKTEMPSENSOR ${1})
|
||||
# c=0; spc=''; spc1=`expr ${cw} - ${#1}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
|
||||
Reference in New Issue
Block a user