Update powerwall.sh
This commit is contained in:
@@ -623,7 +623,7 @@ CHECKPOWER(){
|
|||||||
if [ "${host}" != "*" ] && [ "${host}" != "done" ]; then
|
if [ "${host}" != "*" ] && [ "${host}" != "done" ]; then
|
||||||
watts=$(cat ${hostfile})
|
watts=$(cat ${hostfile})
|
||||||
if [ "${watts}" == "down" ]; then
|
if [ "${watts}" == "down" ]; then
|
||||||
hostpower="${idsCL[Red]}Host Offline"
|
hostpower="${idsCL[LightRed]}Host Offline"
|
||||||
elif [ "${watts}" == "0" ]; then
|
elif [ "${watts}" == "0" ]; then
|
||||||
hostpower="${idsCL[Default]}n/a"
|
hostpower="${idsCL[Default]}n/a"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user