Update temp.inc.sh
This commit is contained in:
@@ -121,7 +121,8 @@ CHECKTEMP(){
|
||||
vHOSTiDRACIP=${PW_HOST_IDRACS[${SENSOR}]}
|
||||
vHOSTIP=${PW_HOST_ADDRESSES[${SENSOR}]}
|
||||
vHOSTNAME=${PW_ESXI_HOST_NAMES[${vHOSTiDRACIP}]}
|
||||
|
||||
|
||||
([ "${temptype}" == "fans" ] && [ "${SENSOR}" == "iDS-vMS-Host6" ]) && echo -e "${idsCL[LightYellow]}This host's PSU is not compatible, Fans are instead synced with 'iDS-vMS-Host7'${idsCL[Default]}" || echo
|
||||
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR} Host Sensors ${idsST[Reset]}${idsCL[White]}[${vHOSTiDRACIP}]"
|
||||
if [ ! -f ${PW_TMPFOLDER}/${SENSOR}.down ]; then
|
||||
if [ "${avgdays}" != "noavg" ]; then
|
||||
@@ -207,8 +208,7 @@ CHECKTEMP(){
|
||||
fi
|
||||
# fi
|
||||
|
||||
([ "${temptype}" == "fans" ] && [ "${SENSOR}" == "iDS-vMS-Host6" ]) && echo " This host's PSU is not compatible, Fans are instead synced with 'iDS-vMS-Host7'" || echo
|
||||
# ([ "${temptype}" != "fans" ] || ([ "${temptype}" == "fans" ] && [ "${SENSOR}" != "iDS-vMS-Host6" ])) && echo
|
||||
([ "${temptype}" != "fans" ] || ([ "${temptype}" == "fans" ] && [ "${SENSOR}" != "iDS-vMS-Host6" ])) && echo
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user