Update temp.inc.sh

This commit is contained in:
2025-05-19 22:23:23 -05:00
parent 68e73eda68
commit 608ddbba0b

View File

@@ -135,7 +135,7 @@ CHECKTEMP(){
lclr="${idsCL[Green]}"
lmd="Normal "
fi
c=0; spct=''; [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "system" ] && [[ "${SENSOR}" = *"FAN"* ]] && spc1=`expr 8 - ${#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
if [[ "${SENSOR}" = *"FAN"* ]]; then
reading="${lclr}${lmd}${spct}"$(IDS_NUMBER_FORMAT ${temp_f} 0)"${GAUGESH}"