Minor improvements

This commit is contained in:
Tigerblue77 2024-03-16 13:23:44 +00:00
parent 7e900fefbf
commit f84367985a
3 changed files with 13 additions and 4 deletions

View file

@ -20,7 +20,7 @@ then
readonly HEXADECIMAL_FAN_SPEED=$FAN_SPEED
else
readonly DECIMAL_FAN_SPEED=$FAN_SPEED
readonly HEXADECIMAL_FAN_SPEED=$(printf '0x%02x' $FAN_SPEED)
readonly HEXADECIMAL_FAN_SPEED=$(convert_decimal_value_to_hexadecimal $FAN_SPEED)
fi
# Check if the iDRAC host is set to 'local' or not then set the IDRAC_LOGIN_STRING accordingly