Update temp.inc.sh
This commit is contained in:
@@ -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}]}
|
||||
|
||||
Reference in New Issue
Block a user