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 if [ "${tsensor}" != "*" ]; then
rm -f ${sensor} rm -f ${sensor}
((s_count++)) ((s_count++))
echo -en "HERE: ${tsensor} = " if [ ! -f ${PW_TMPFOLDER}/${tsensor}.down ] && [ -f ${PW_TMPFOLDER}/.lastfancheck/${tsensor} ]; then
[ -f ${PW_TMPFOLDER}/.lastfancheck/${tsensor} ] && echo yes || echo no rm -f ${PW_TMPFOLDER}/.lastfancheck/${tsensor}*
[ -f ${PW_TMPFOLDER}/.lastfancheck/${tsensor} ] && rm -f ${PW_TMPFOLDER}/.lastfancheck/${tsensor}* fi
fi fi
done done