Update temp.inc.sh
This commit is contained in:
@@ -85,7 +85,7 @@ CHECKTEMP(){
|
||||
[ "${avgdays}" != "noavg" ] && fan_average=$(bc <<< "scale=0; $(ROUNDHALVES $(bc <<< "scale=3; $(AVERAGETEMP ${SENSOR} ${avgdays} FanSpeed)/10"))*10/1")
|
||||
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR} Host Sensors ${idsST[Reset]}${idsCL[White]}[${vHOSTiDRACIP}]"
|
||||
|
||||
[ -f ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.gl ] && FSC="${idsCL[Green]}" || ([ ! -f ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.set ] && FSC="${idsCL[LightYellow]}" || FSC="${idsCL[Cyan]}")
|
||||
[ -f ${PW_TMPFOLDER}/.lastfancheck/${SENSOR}.gl ] && FSC="${idsCL[Green]}" || FSC="${idsCL[Cyan]}"
|
||||
|
||||
echo -en "${idsCL[LightCyan]} [FanSpeed=${FSC}$(cat ${PW_TMPFOLDER}/.fanspeed.${SENSOR}.${cdt})${idsCL[LightCyan]}'% "
|
||||
if [ "${avgdays}" != "noavg" ]; then
|
||||
|
||||
Reference in New Issue
Block a user