Update temp.inc.sh

This commit is contained in:
2024-02-25 09:15:07 -06:00
parent fea662fdd1
commit fa5a370f20

View File

@@ -160,10 +160,10 @@ CHECKTEMP(){
fi
if ([ "${average}" != "" ] || [ "${temp_f}" != "" ]) && [[ "${SENSOR}" != *"FAN"* ]]; then
if [ "${average}" != "" ]; then
[ "${temp_f}" != "" ] && [ "${temp_f_disp}" != "0" ] && fws=12 || fws=9
[ "${temp_f}" != "" ] && [ "${temp_f_disp}" != "0" ] && fws=10 || fws=9
tmp="${spca}${average_disp}${GAUGESH}"
else
fws=20
fws=22
tmp="${spct}${temp_f_disp}${GAUGESH}"
fi
c=0; spc=''; spc1=`expr ${fws} - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done