Update temp.inc.sh

This commit is contained in:
2024-02-25 09:07:12 -06:00
parent c36dc23fab
commit 6aa6666dd7

View File

@@ -166,6 +166,7 @@ CHECKTEMP(){
fws=21
tmp="${spct}${temp_f_disp}${GAUGESH}"
fi
echo "HERE: '${fws} - ${#tmp}'"
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=' '