Update temp.inc.sh

This commit is contained in:
2024-04-21 16:19:55 -05:00
parent 597b567f0d
commit d8d738b610

View File

@@ -363,9 +363,9 @@ CHECKTEMP(){
echo -e " Last checked : ${idsCL[LightCyan]}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR} "+%m/%d @ %l:%M%p")${idsCL[Default]}"
echo -en " Last set : ${FSC}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set "+%m/%d @ %l:%M%p") "
if [ "$(cat ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set | cut -d'~' -f 2)" == "u" ]; then
echo -e "${idsCL[LightRed]}\u2B06 ${idsCL[Default]}"
echo -e "${idsCL[LightRed]}\u21C8 ${idsCL[Default]}"
elif [ "$(cat ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set | cut -d'~' -f 2)" == "d" ]; then
echo -e "\u2B07 ${idsCL[Default]}"
echo -e "\u21CA ${idsCL[Default]}"
else
echo -e "${idsCL[LightCyan]}= ${idsCL[Default]}"
fi