Update temp.inc.sh

This commit is contained in:
2024-01-31 08:51:54 -06:00
parent a18afe830b
commit acb20e6fa1

View File

@@ -345,7 +345,7 @@ CHECKTEMPSENSOR(){
# el
if [[ "${1}" != *"FAN"* ]]; then
tmp="${spct}${temp_f_disp}${GAUGESH}"
[ "${average}" != "" ] && fws=10 || fws=16
[ "${average}" != "" ] && fws=12 || fws=16
c=0; spc=''; spc1=`expr ${fws} - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
[ ${#temp_warn} == 2 ] && spcw=' ' || spcw=' '
[ ${#temp_crit} == 2 ] && spcc=' ' || spcc=' '