Update temp.inc.sh
This commit is contained in:
@@ -362,7 +362,7 @@ CHECKTEMPSENSOR(){
|
|||||||
echo -en "${idsCL[Yellow]}Sensor Offline${idsCL[Default]}"
|
echo -en "${idsCL[Yellow]}Sensor Offline${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
[ "${average}" != "" ] && echo -en " /${spca}${averagedisp}${GAUGESH}"
|
[ "${average}" != "" ] && echo -en " /${spca}${averagedisp}${GAUGESH}"
|
||||||
if [ "${average}" != "" ] || ( "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]) && [[ "${1}" != *"FAN"* ]]; then
|
if [ "${average}" != "" ] || ([ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ]) && [[ "${1}" != *"FAN"* ]]; then
|
||||||
tmp="${spct}${temp_f_disp}${GAUGESH}"
|
tmp="${spct}${temp_f_disp}${GAUGESH}"
|
||||||
[ "${average}" != "" ] && fws=11 || fws=21
|
[ "${average}" != "" ] && fws=11 || fws=21
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user