Update temp.inc.sh

This commit is contained in:
2024-02-01 19:37:13 -06:00
parent c1f9044172
commit 88352c4e14

View File

@@ -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