Update temp.inc.sh
This commit is contained in:
@@ -131,9 +131,8 @@ CHECKTEMP(){
|
|||||||
reading=$(CHECKTEMPSENSOR ${SENSOR} ${temp_c} ${temp_warn} ${temp_crit} ${sensorname// /_} ${avgdays})
|
reading=$(CHECKTEMPSENSOR ${SENSOR} ${temp_c} ${temp_warn} ${temp_crit} ${sensorname// /_} ${avgdays})
|
||||||
[ "${avgdays}" != "noavg" ] && echo -en "\r\033[K"
|
[ "${avgdays}" != "noavg" ] && echo -en "\r\033[K"
|
||||||
echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}"
|
echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}"
|
||||||
|
|
||||||
((t++))
|
|
||||||
fi
|
fi
|
||||||
|
((t++))
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[LightCyan]} ${vHOSTNAME}${spc}${idsCL[Default]}: No Data"
|
echo -e "${idsCL[LightCyan]} ${vHOSTNAME}${spc}${idsCL[Default]}: No Data"
|
||||||
|
|||||||
Reference in New Issue
Block a user