Update powerwall.sh
This commit is contained in:
@@ -15,7 +15,7 @@ VERBOSE=false
|
|||||||
|
|
||||||
CHECKTEMP(){
|
CHECKTEMP(){
|
||||||
cw=20;
|
cw=20;
|
||||||
echo -e "${idsCL[Yellow]}Sensor Temperature(s) ${idsCL[Green]}Normal${idsCL[Default]}/${idsCL[Yellow]}Warning${idsCL[Default]}/${idsCL[Red]}Critical${idsCL[Default]}"
|
echo -e "${idsCL[Yellow]}Sensor Temperature(s) ${idsCL[Green]}Normal${idsCL[Default]}/${idsCL[Yellow]}Warning${idsCL[Default]}/${idsCL[Red]}Critical${idsCL[Default]}"
|
||||||
DIVIDER
|
DIVIDER
|
||||||
if [ "${1}" != "" ]; then
|
if [ "${1}" != "" ]; then
|
||||||
reading=$(CHECKTEMPSENSOR ${1})
|
reading=$(CHECKTEMPSENSOR ${1})
|
||||||
|
|||||||
Reference in New Issue
Block a user