Update temp.inc.sh

This commit is contained in:
2024-01-30 20:41:09 -06:00
parent a1ecd6fc6e
commit ae11f0c767

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