Update temp.inc.sh
This commit is contained in:
@@ -132,10 +132,10 @@ CHECKTEMP(){
|
|||||||
if [ "${temptype}" == "fans" ]; then
|
if [ "${temptype}" == "fans" ]; then
|
||||||
MSG=" Last checked"
|
MSG=" Last checked"
|
||||||
c=0; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
c=0; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||||
echo -e "${MSG}${spc}: ${idsCL[White]}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR} "+%m/%d @ %H%M")${idsCL[Default]}"
|
echo -e "${MSG}${spc}: ${idsCL[White]}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR} "+%m/%d @ %H:%M")${idsCL[Default]}"
|
||||||
MSG=" Last set"
|
MSG=" Last set"
|
||||||
c=0; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
c=0; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||||
echo -e "${MSG}${spc}: ${idsCL[White]}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set "+%m/%d @ %H%M")${idsCL[Default]}"
|
echo -e "${MSG}${spc}: ${idsCL[White]}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set "+%m/%d @ %H:%M")${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
((t++))
|
((t++))
|
||||||
|
|||||||
Reference in New Issue
Block a user