Update temp.inc.sh

This commit is contained in:
2023-12-26 13:58:53 -06:00
parent d232147954
commit ac394343d2

View File

@@ -196,7 +196,7 @@ CHECKTEMPSENSOR(){
[ "${average}" != "" ] && echo -en "${idsCL[Green]}Normal ${spct}${temp_f}${GAUGESH} /${spca}${averagedisp}${GAUGESH}${idsCL[Default]}" || echo -en "${idsCL[Green]}Normal ${spct}${temp_f_disp}${GAUGESH}${idsCL[Default]}"
fi
tmp="${spct}${temp_f}"
tmp="${spct}${temp_f_disp}"
c=0; spc=''; spc1=`expr 10 - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
[ ${#temp_warn} == 2 ] && spcw=' ' || spcw=' '
[ ${#temp_crit} == 2 ] && spcc=' ' || spcc=' '