Update temp.inc.sh
This commit is contained in:
@@ -166,6 +166,7 @@ CHECKTEMP(){
|
|||||||
fws=21
|
fws=21
|
||||||
tmp="${spct}${temp_f_disp}${GAUGESH}"
|
tmp="${spct}${temp_f_disp}${GAUGESH}"
|
||||||
fi
|
fi
|
||||||
|
echo "HERE: '${fws} - ${#tmp}'"
|
||||||
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
|
||||||
[ ${#temp_warn} == 2 ] && spcw=' ' || spcw=' '
|
[ ${#temp_warn} == 2 ] && spcw=' ' || spcw=' '
|
||||||
[ ${#temp_crit} == 2 ] && spcc=' ' || spcc=' '
|
[ ${#temp_crit} == 2 ] && spcc=' ' || spcc=' '
|
||||||
|
|||||||
Reference in New Issue
Block a user