This commit is contained in:
voltron committed 2024-07-12 17:42:11 -05:00
1 parent ccabd8b427
commit 73115fb9d6
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -1497,6 +1497,7 @@ ESXI_FANSPEED_MGMT(){
echo -en "${idsCL[Yellow]}Setting new FanSpeeds for ${PW_iDRACHOST_SHORTNAMES[${host}]} [${PW_HOST_ADDRESSES[${PW_iDRACHOST_SHORTNAMES[${host}]}]}]: "
if [ ! -f ${PW_TMPFOLDER}/${PW_iDRACHOST_SHORTNAMES[${host}]}.down ]; then
SET_ESXI_FANSPEED ${FANSPEED} ${PW_iDRACHOST_SHORTNAMES[${host}]} manual #>/dev/null 2>&1
rm -f ${PW_TMPFOLDER}/.lastfancheck/${PW_iDRACHOST_SHORTNAMES[${host}]}.gl
echo -e "${idsCL[Green]}FanSpeed set to ${FANSPEED}${idsCL[Default]}"
else
echo -e "${idsCL[Yellow]}Skipping, host offline${idsCL[Default]}"