From 1ad7c56c55684c5760c1ed7436fe22332440a514 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 6 Nov 2023 18:31:53 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 2e9a6149..9f54cbc5 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -235,8 +235,8 @@ CHECKTEMP_SERVICE(){ echo "HERE: ${vHOSTFAN} - ${FanSpeed}" if [ ${FanSpeed} -gt 92 ]; then SENDNOTICE "${PW_HOST_IDRACS[${SENSORa}]} Fan Issue" "Workaround commands sent to set the Fans at 30%25" 1 - run=$(ipmitool -I lanplus -H ${PW_HOST_IDRACS[${SENSORa}]} -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" raw 0x30 0x30 0x01 0x00) - run=$(ipmitool -I lanplus -H ${PW_HOST_IDRACS[${SENSORa}]} -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" raw 0x30 0x30 0x02 0xff 0xff) + ipmitool -I lanplus -H ${PW_HOST_IDRACS[${SENSORa}]} -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" raw 0x30 0x30 0x01 0x00 + ipmitool -I lanplus -H ${PW_HOST_IDRACS[${SENSORa}]} -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" raw 0x30 0x30 0x02 0xff 0xff FanSpeed=30 fi fi