Update powerwall.sh

This commit is contained in:
2023-12-03 15:06:27 -06:00
parent 7ed68c4bc0
commit d664113a33

View File

@@ -96,7 +96,7 @@ CHECKTEMP(){
echo ${PW_TEMP_THRESHOLDS['Powerwall-CPU-Usage']} | cut -d',' -f 1 | read cpu_warn
echo ${PW_TEMP_THRESHOLDS['Powerwall-CPU-Usage']} | cut -d',' -f 2 | read cpu_crit
msg="Powerwall-CPU Processor Usage"
msg="Powerwall-CPU-Usage"
c=0; spc=''; spc1=`expr ${cw} - ${#msg}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${msg}${idsST[Reset]}${spc}${idsCL[Default]}: "