diff --git a/functions.sh b/functions.sh index 411e482..d914740 100644 --- a/functions.sh +++ b/functions.sh @@ -20,6 +20,7 @@ function apply_user_fan_control_profile () { function set_fan_speed () { local SPEED=$1 local HEX_SPEED=$(convert_decimal_value_to_hexadecimal $SPEED) + ipmitool -I $IDRAC_LOGIN_STRING raw 0x30 0x30 0x01 0x00 > /dev/null ipmitool -I $IDRAC_LOGIN_STRING raw 0x30 0x30 0x02 0xff $HEX_SPEED > /dev/null CURRENT_FAN_CONTROL_PROFILE="User static fan control profile ($SPEED%)" }