Update temp.inc.sh

This commit is contained in:
2024-01-30 11:55:34 -06:00
parent fc3c96153d
commit 64fd1491a3

View File

@@ -87,13 +87,13 @@ CHECKTEMP(){
# [ "${SENSOR}" == "iDS-vMS-Host6" ] && cSENSOR="iDS-vMS-Host7" || cSENSOR=${SENSOR}
cSENSOR=${SENSOR}
if [ -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.gl ]; then
FSC="${idsCL[LightGreen]}"
FSC="${idsCL[LightGreen]}${idsST[Bold]}"
elif [ ! -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.set ]; then
FSC="${idsCL[Green]}"
else
FSC="${idsCL[Yellow]}"
FSC="${idsCL[LightYellow]}"
fi
echo -en "${idsCL[LightCyan]} [FanSpeed=${FSC}$(cat ${PW_TMPFOLDER}/.fanspeed.${SENSOR}.${cdt})${idsCL[LightCyan]}'% "
echo -en "${idsCL[LightCyan]} [FanSpeed=${FSC}$(cat ${PW_TMPFOLDER}/.fanspeed.${SENSOR}.${cdt})${idsST[Reset]]}${idsCL[LightCyan]}'% "
if [ "${avgdays}" != "noavg" ]; then
echo -e "${idsCL[LightYellow]} AVG=${fan_average}'%${idsCL[LightCyan]}]${idsCL[Default]}"
else