Update temp.inc.sh

This commit is contained in:
2024-01-30 19:33:00 -06:00
parent 920856acbd
commit 19d8e008d1

View File

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