Update powerwall.sh
This commit is contained in:
@@ -62,7 +62,7 @@ CHECKTEMP(){
|
||||
|
||||
# reading=$(CHECKTEMPSENSOR ${SENSOR} ${temp_c} ${temp_warn} ${temp_crit} ${sensorname// /_} ${1})
|
||||
c=0; spc=''; spc1=`expr ${cw} - ${#sensorname} - 1`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||
echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}"
|
||||
echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${temp_c} - ${reading}"
|
||||
|
||||
((t++))
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user