Update temp.inc.sh
This commit is contained in:
@@ -345,7 +345,7 @@ CHECKTEMPSENSOR(){
|
|||||||
# el
|
# el
|
||||||
if [[ "${1}" != *"FAN"* ]]; then
|
if [[ "${1}" != *"FAN"* ]]; then
|
||||||
tmp="${spct}${temp_f_disp}${GAUGESH}"
|
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
|
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