Modif functions.sh et ajout premiere ligne impitool
This commit is contained in:
@@ -20,6 +20,7 @@ function apply_user_fan_control_profile () {
|
|||||||
function set_fan_speed () {
|
function set_fan_speed () {
|
||||||
local SPEED=$1
|
local SPEED=$1
|
||||||
local HEX_SPEED=$(convert_decimal_value_to_hexadecimal $SPEED)
|
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
|
ipmitool -I $IDRAC_LOGIN_STRING raw 0x30 0x30 0x02 0xff $HEX_SPEED > /dev/null
|
||||||
CURRENT_FAN_CONTROL_PROFILE="User static fan control profile ($SPEED%)"
|
CURRENT_FAN_CONTROL_PROFILE="User static fan control profile ($SPEED%)"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user