Update temp.inc.sh
This commit is contained in:
@@ -139,7 +139,7 @@ CHECKTEMP(){
|
|||||||
c=0; spct=''; [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "system" ] && [[ "${SENSOR}" = *"FAN"* ]] && spc1=`expr 4 - ${#temp_f}` || spc1=`expr 7 - ${#temp_f}`
|
c=0; spct=''; [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "system" ] && [[ "${SENSOR}" = *"FAN"* ]] && spc1=`expr 4 - ${#temp_f}` || spc1=`expr 7 - ${#temp_f}`
|
||||||
until [ ${c} = ${spc1} ]; do spct="${spct} "; ((c++)); done
|
until [ ${c} = ${spc1} ]; do spct="${spct} "; ((c++)); done
|
||||||
if [[ "${SENSOR}" = *"FAN"* ]]; then
|
if [[ "${SENSOR}" = *"FAN"* ]]; then
|
||||||
reading="${lclr}${lmd}${spct}"$(IDS_NUMBER_FORMAT ${temp_f} 0)"${GAUGESH}"
|
reading="${lclr}${lmd}${spct}${temp_f}${GAUGESH}"
|
||||||
else
|
else
|
||||||
reading="${lclr}${lmd}${spct}"$(IDS_NUMBER_FORMAT ${temp_f} 2 yes)"${GAUGESH}"
|
reading="${lclr}${lmd}${spct}"$(IDS_NUMBER_FORMAT ${temp_f} 2 yes)"${GAUGESH}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user