Update temp.inc.sh
This commit is contained in:
@@ -130,11 +130,12 @@ CHECKTEMP(){
|
||||
[ "${avgdays}" != "noavg" ] && echo -en "\r\033[K"
|
||||
echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}"
|
||||
if [ "${temptype}" == "fans" ]; then
|
||||
MSG=" Last checked"
|
||||
c=0; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||
MSG=" Golidlock Zone"; c=0; spc=''; spc1=`expr ${cw} - ${#MSG} - 1`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||
echo -e "${idsCL[LightCyan]}${MSG}${spc}${idsCL[Default]}: ${idsCL[White]}${DEFAULT_ESXI_EXHAUST_MIN} +- ${PW_ESXI_FANSPEED_GL_ZONE} = ${GL_LOW} <--> ${GL_HIGH}"
|
||||
|
||||
MSG=" Last checked"; c=0; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||
echo -e "${MSG}${spc}: ${idsCL[LightCyan]}$(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
|
||||
MSG=" Last set"; c=0; spc=''; spc1=`expr ${cw} - ${#MSG}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||
if [ -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.gl ]; then
|
||||
FSC="${idsCL[LightGreen]}"
|
||||
elif [ -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.set ]; then
|
||||
|
||||
Reference in New Issue
Block a user