Update temp.inc.sh
This commit is contained in:
@@ -160,10 +160,10 @@ CHECKTEMP(){
|
|||||||
fi
|
fi
|
||||||
if ([ "${average}" != "" ] || [ "${temp_f}" != "" ]) && [[ "${SENSOR}" != *"FAN"* ]]; then
|
if ([ "${average}" != "" ] || [ "${temp_f}" != "" ]) && [[ "${SENSOR}" != *"FAN"* ]]; then
|
||||||
if [ "${average}" != "" ]; then
|
if [ "${average}" != "" ]; then
|
||||||
[ "${temp_f}" != "" ] && [ "${temp_f_disp}" != "0" ] && fws=11 || fws=9
|
[ "${temp_f}" != "" ] && [ "${temp_f_disp}" != "0" ] && fws=12 || fws=9
|
||||||
tmp="${spca}${average_disp}${GAUGESH}"
|
tmp="${spca}${average_disp}${GAUGESH}"
|
||||||
else
|
else
|
||||||
fws=21
|
fws=20
|
||||||
tmp="${spct}${temp_f_disp}${GAUGESH}"
|
tmp="${spct}${temp_f_disp}${GAUGESH}"
|
||||||
fi
|
fi
|
||||||
c=0; spc=''; spc1=`expr ${fws} - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
c=0; spc=''; spc1=`expr ${fws} - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||||
|
|||||||
Reference in New Issue
Block a user