Update temp.inc.sh

This commit is contained in:
2024-06-30 13:13:27 -05:00
parent cb7a8b706c
commit f7674215fe

View File

@@ -435,14 +435,14 @@ CHECKTEMP(){
lmd="WARNING " lmd="WARNING "
elif [ "${TTYPE}" == "fans" ] && [ $(bc -l <<< "${temp_f} < ${GL_LOW}") -eq 1 ]; then elif [ "${TTYPE}" == "fans" ] && [ $(bc -l <<< "${temp_f} < ${GL_LOW}") -eq 1 ]; then
lclr="${idsCL[LightCyan]}" lclr="${idsCL[LightCyan]}"
lmd="COOL " lmd="COOL "
else else
lclr="${idsCL[Green]}" lclr="${idsCL[Green]}"
lmd="Normal " lmd="Normal "
fi fi
else else
lclr="${idsCL[LightCyan]}" lclr="${idsCL[LightCyan]}"
lmd=" " lmd=" "
fi fi
c=0; spct=''; spc1=`expr 7 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; ((c++)); done c=0; spct=''; spc1=`expr 7 - ${#temp_f}`; until [ ${c} = ${spc1} ]; do spct="${spct} "; ((c++)); done
reading="${lclr}${lmd}${spct}${temp_f}${GAUGESH}" reading="${lclr}${lmd}${spct}${temp_f}${GAUGESH}"