Update temp.inc.sh
This commit is contained in:
@@ -531,7 +531,7 @@ CHECKTEMP(){
|
||||
fi
|
||||
else
|
||||
tmp="${spct}${temp_f}${GAUGESH}"
|
||||
[ "${avgdays}" != "noavg" ] && spc1=`expr ${fws} - ${#tmp}` || spc1=`expr ${fws} - ${#tmp} + 5`
|
||||
[ "${avgdays}" != "noavg" ] && spc1=`expr ${fws} - ${#tmp} + 1` || spc1=`expr ${fws} - ${#tmp} + 5`
|
||||
c=0; spc=''; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
|
||||
echo -e "${spc}${idsCL[Default]}[${spcw}${idsCL[Yellow]}${temp_warn}${GAUGESH}${idsCL[Default]} /${spcc}${idsCL[LightRed]}${temp_crit}${GAUGESH}=>${idsCL[Default]} ]"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user