From cb293308e6e39d1a6e9fe0a6e9a429cce89d248c Mon Sep 17 00:00:00 2001 From: Tigerblue77 <37409593+tigerblue77@users.noreply.github.com> Date: Sun, 28 Jan 2024 22:16:28 +0000 Subject: [PATCH] Minor fix forgotten in previous PR merge --- Dell_iDRAC_fan_controller.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dell_iDRAC_fan_controller.sh b/Dell_iDRAC_fan_controller.sh index 9486ac2..43a2795 100644 --- a/Dell_iDRAC_fan_controller.sh +++ b/Dell_iDRAC_fan_controller.sh @@ -115,15 +115,15 @@ else HEXADECIMAL_FAN_SPEED=$(printf '0x%02x' $FAN_SPEED) fi -# Log main informations given to the container +get_Dell_server_model + +# Log main informations +echo "Server model: $SERVER_MANUFACTURER $SERVER_MODEL" echo "iDRAC/IPMI host: $IDRAC_HOST" # Check if the iDRAC host is set to 'local' or not then set the IDRAC_LOGIN_STRING accordingly if [[ $IDRAC_HOST == "local" ]] then - get_Dell_server_model - echo "Server model: $SERVER_MANUFACTURER $SERVER_MODEL" - # Check that the Docker host IPMI device (the iDRAC) has been exposed to the Docker container if [ ! -e "/dev/ipmi0" ] && [ ! -e "/dev/ipmi/0" ] && [ ! -e "/dev/ipmidev/0" ]; then echo "/!\ Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0, check that you added the device to your Docker container or stop using local mode. Exiting." >&2