From 5c73f2d2c528591bb3f62c7419d25cce77919714 Mon Sep 17 00:00:00 2001 From: Benoit Date: Thu, 1 Aug 2024 18:22:08 +0200 Subject: [PATCH] Modif functions.sh et ajout premiere ligne impitool --- functions.sh | 1 + 1 file changed, 1 insertion(+) 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%)" }