Update temp.inc.sh
This commit is contained in:
@@ -135,7 +135,14 @@ CHECKTEMP(){
|
||||
echo -e "${MSG}${spc}: ${idsCL[White]}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR} "+%m/%d @ %l:%M%p")${idsCL[Default]}"
|
||||
MSG=" Last set"
|
||||
c=0; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||
echo -e "${MSG}${spc}: ${FSC}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set "+%m/%d @ %l:%M%p")${idsST[Reset]}${idsCL[Default]}"
|
||||
if [ -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.gl ]; then
|
||||
FSC="${idsCL[LightGreen]}"
|
||||
elif [ -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.set ]; then
|
||||
FSC="${idsCL[Green]}"
|
||||
else
|
||||
FSC="${idsCL[LightYellow]}"
|
||||
fi
|
||||
echo -e "${MSG}${spc}: ${FSC}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set "+%m/%d @ %l:%M%p")${idsCL[Default]}"
|
||||
fi
|
||||
fi
|
||||
((t++))
|
||||
|
||||
Reference in New Issue
Block a user