Update temp.inc.sh

This commit is contained in:
2024-01-30 19:29:04 -06:00
parent 567f59b59b
commit 16ff87be52

View File

@@ -416,6 +416,8 @@ CHECKTEMP_SERVICE(){
if [ "$(grep -oP '(?<=ztemprun.).*?(?=.done)' <<< "${sensor}")" != "*" ]; then
rm -f ${sensor}
((s_count++))
echo -en "HERE: ${sensor} = "
[ -f ${PW_TMPFOLDER}/.lastfancheck/${sensor}* ] && echo yes || echo no
[ -f ${PW_TMPFOLDER}/.lastfancheck/${sensor}* ] && rm -f ${PW_TMPFOLDER}/.lastfancheck/${sensor}*
fi