Update temp.inc.sh

This commit is contained in:
2024-01-30 14:50:51 -06:00
parent 97fe868e67
commit 2c4e15af83

View File

@@ -69,7 +69,7 @@ CHECKTEMP(){
if [ "${search}" == "" ] || [[ "${SENSOR,,}" = *"${search,,}"* ]]; then
if ([ "${PW_SENSOR_TYPE[${SENSOR}]}" == "esxi" ] || [ "${temptype}" == "fans" ]) && [ "${temptype}" != "sensors" ]; then
if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "esxi" ] && [ "${temptype}" != "sensors" ]; then
vHOSTiDRACIP=${PW_HOST_IDRACS[${SENSOR}]}
vHOSTIP=${PW_HOST_ADDRESSES[${SENSOR}]}
vHOSTNAME=${PW_ESXI_HOST_NAMES[${vHOSTiDRACIP}]}