Variable & function renaming

This commit is contained in:
Tigerblue77 2025-11-06 22:02:03 +00:00
parent 81bd752b37
commit 78e30ddbee
2 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,6 @@
# Define global functions
# This function applies Dell's default dynamic fan control profile
function apply_Dell_fan_control_profile() {
function apply_Dell_default_fan_control_profile() {
# Use ipmitool to send the raw command to set fan control to Dell default
ipmitool -I $IDRAC_LOGIN_STRING raw 0x30 0x30 0x01 0x01 > /dev/null
CURRENT_FAN_CONTROL_PROFILE="Dell default dynamic fan control profile"
@ -119,7 +119,7 @@ function disable_third_party_PCIe_card_Dell_default_cooling_response() {
# Prepare traps in case of container exit
function graceful_exit() {
apply_Dell_fan_control_profile
apply_Dell_default_fan_control_profile
# Reset third-party PCIe card cooling response to Dell default depending on the user's choice at startup
if ! "$KEEP_THIRD_PARTY_PCIE_CARD_COOLING_RESPONSE_STATE_ON_EXIT"; then