diff --git a/powerwall.sh b/powerwall.sh index fd09bb52..3643080e 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -69,7 +69,7 @@ CHECKTEMPSENSOR(){ c=0; spc=''; spc1=`expr 13 - ${#temp_f} - 2`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done [ ${#temp_warn} == 2 ] && spcw=' ' || spcw=' ' [ ${#temp_crit} == 2 ] && spcc=' ' || spcc=' ' - echo -e "${spc}[{spcw}${idsCL[Green]}<=$(expr ${temp_warn} - 1)°F${idsCL[Default]} /${spcw}${idsCL[Yellow]}${temp_warn}°F${idsCL[Default]} /${spcw}${idsCL[Red]}${temp_crit}°F${idsCL[Default]}${spcc}]" + echo -e "${spc}[${spcw}${idsCL[Green]}<=$(expr ${temp_warn} - 1)°F${idsCL[Default]} /${spcw}${idsCL[Yellow]}${temp_warn}°F${idsCL[Default]} /${spcw}${idsCL[Red]}${temp_crit}°F${idsCL[Default]}${spcc}]" fi }