Skip to content

Commit

Permalink
Renamed apply_fan_speed_interpolation_fan_control_profile function
Browse files Browse the repository at this point in the history
  • Loading branch information
tigerblue77 committed Mar 16, 2024
1 parent bfb683e commit 8e58753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dell_iDRAC_fan_controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ while true; do
DECIMAL_CURRENT_FAN_SPEED=$DECIMAL_FAN_SPEED
fi
HEXADECIMAL_CURRENT_FAN_SPEED=$(convert_decimal_value_to_hexadecimal $DECIMAL_CURRENT_FAN_SPEED)
apply_fan_speed_interpolation_fan_control_profile
apply_user_fan_control_profile_with_interpolation
else
apply_user_fan_control_profile

Expand Down
2 changes: 1 addition & 1 deletion functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function apply_user_fan_control_profile () {
}

# This function applies a user-specified interpolated fan control profile
function apply_fan_speed_interpolation_fan_control_profile () {
function apply_user_fan_control_profile_with_interpolation () {
ipmitool -I $IDRAC_LOGIN_STRING raw 0x30 0x30 0x01 0x00 > /dev/null
ipmitool -I $IDRAC_LOGIN_STRING raw 0x30 0x30 0x02 0xff $HEXADECIMAL_CURRENT_FAN_SPEED > /dev/null
CURRENT_FAN_CONTROL_PROFILE="Interpolated fan control profile ($DECIMAL_CURRENT_FAN_SPEED%)"
Expand Down

0 comments on commit 8e58753

Please sign in to comment.