Update powerwall.sh
This commit is contained in:
1 parent
7ed68c4bc0
commit
d664113a33
1 file changed
+1
-1
+1
-1
@@ -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]}: "
|
||||
|
||||
|
||||
Reference in new issue
Block a user