Update temp.inc.sh

This commit is contained in:
2024-02-01 19:38:15 -06:00
parent 88352c4e14
commit 0a5b8d359c

View File

@@ -122,7 +122,7 @@ CHECKTEMP(){
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
([ "${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 -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,7 +207,6 @@ CHECKTEMP(){
# fi
fi
# fi
([ "${temptype}" != "fans" ] || ([ "${temptype}" == "fans" ] && [ "${SENSOR}" != "iDS-vMS-Host6" ])) && echo
fi
done