Update temp.inc.sh

This commit is contained in:
2024-01-30 19:34:58 -06:00
parent 19d8e008d1
commit dfbcf6a388

View File

@@ -417,9 +417,9 @@ CHECKTEMP_SERVICE(){
if [ "${tsensor}" != "*" ]; then
rm -f ${sensor}
((s_count++))
if [ ! -f ${PW_TMPFOLDER}/${tsensor}.down ] && [ -f ${PW_TMPFOLDER}/.lastfancheck/${tsensor} ]; then
rm -f ${PW_TMPFOLDER}/.lastfancheck/${tsensor}*
fi
# if [ ! -f ${PW_TMPFOLDER}/${tsensor}.down ] && [ -f ${PW_TMPFOLDER}/.lastfancheck/${tsensor} ]; then
# rm -f ${PW_TMPFOLDER}/.lastfancheck/${tsensor}*
# fi
fi
done