Update temp.inc.sh
This commit is contained in:
@@ -135,12 +135,6 @@ CHECKTEMP(){
|
|||||||
[ "${avgdays}" != "noavg" ] && echo -en "\r\033[K"
|
[ "${avgdays}" != "noavg" ] && echo -en "\r\033[K"
|
||||||
echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}"
|
echo -e "${idsCL[LightCyan]} ${sensorname}${spc}${idsCL[Default]}: ${reading}"
|
||||||
if [ "${temptype}" == "fans" ]; then
|
if [ "${temptype}" == "fans" ]; then
|
||||||
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[LightGreen]}${DEFAULT_ESXI_EXHAUST_MIN}'F${idsCL[Default]} +-${ESXI_FANSPEED_GL_ZONE}'F [ ${idsCL[Green]}${GL_LOW}${idsCL[Default]} <--> ${idsCL[LightYellow]}${GL_HIGH}${idsCL[Default]} ]"
|
|
||||||
|
|
||||||
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
|
|
||||||
if [ -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.gl ]; then
|
if [ -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.gl ]; then
|
||||||
FSC="${idsCL[LightGreen]}"
|
FSC="${idsCL[LightGreen]}"
|
||||||
elif [ -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.set ]; then
|
elif [ -f ${PW_TMPFOLDER}/.lastfancheck/${cSENSOR}.set ]; then
|
||||||
@@ -148,7 +142,9 @@ CHECKTEMP(){
|
|||||||
else
|
else
|
||||||
FSC="${idsCL[LightYellow]}"
|
FSC="${idsCL[LightYellow]}"
|
||||||
fi
|
fi
|
||||||
echo -e "${MSG}${spc}: ${FSC}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set "+%m/%d @ %l:%M%p")${idsCL[Default]}"
|
echo -e " Golidlock Zone : ${idsCL[LightGreen]}${DEFAULT_ESXI_EXHAUST_MIN}'F${idsCL[Default]} +-${ESXI_FANSPEED_GL_ZONE}'F [ ${idsCL[Green]}${GL_LOW}${idsCL[Default]} <--> ${idsCL[LightYellow]}${GL_HIGH}${idsCL[Default]} ]"
|
||||||
|
echo -e " Last checked : ${idsCL[LightCyan]}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR} "+%m/%d @ %l:%M%p")${idsCL[Default]}"
|
||||||
|
echo -e " Last set : ${FSC}$(date -r ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set "+%m/%d @ %l:%M%p")${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
((t++))
|
((t++))
|
||||||
|
|||||||
Reference in New Issue
Block a user