From ea29ce5eebb1021a30ca52e1a70fe8fa7c84f39f Mon Sep 17 00:00:00 2001 From: Tigerblue77 <37409593+tigerblue77@users.noreply.github.com> Date: Mon, 27 Oct 2025 11:23:34 +0000 Subject: [PATCH] Removed useless ugly quotes --- Dell_iDRAC_fan_controller.sh | 4 ++-- functions.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dell_iDRAC_fan_controller.sh b/Dell_iDRAC_fan_controller.sh index 63a4d39..ec34a41 100644 --- a/Dell_iDRAC_fan_controller.sh +++ b/Dell_iDRAC_fan_controller.sh @@ -43,7 +43,7 @@ fi # Log main informations echo "Server model: $SERVER_MANUFACTURER $SERVER_MODEL" -echo "iDRAC/IPMI host: \"$IDRAC_HOST\"" +echo "iDRAC/IPMI host: $IDRAC_HOST" # Log the fan speed objective, CPU temperature threshold and check interval echo "Fan speed objective: $DECIMAL_FAN_SPEED%" @@ -113,7 +113,7 @@ while true; do # Check if user fan control profile is applied then apply it if not if $IS_DELL_FAN_CONTROL_PROFILE_APPLIED; then IS_DELL_FAN_CONTROL_PROFILE_APPLIED=false - COMMENT="CPU temperature decreased and is now OK (<= \"$CPU_TEMPERATURE_THRESHOLD\"°C), user's fan control profile applied." + COMMENT="CPU temperature decreased and is now OK (<= $CPU_TEMPERATURE_THRESHOLD°C), user's fan control profile applied." fi fi diff --git a/functions.sh b/functions.sh index d09f8c4..7e1d0d6 100644 --- a/functions.sh +++ b/functions.sh @@ -50,9 +50,9 @@ function set_iDRAC_login_string() { fi IDRAC_LOGIN_STRING='open' else - echo "iDRAC/IPMI username: \"$IDRAC_USERNAME\"" - #echo "iDRAC/IPMI password: \"$IDRAC_PASSWORD\"" - IDRAC_LOGIN_STRING="lanplus -H \"$IDRAC_HOST\" -U \"$IDRAC_USERNAME\" -P \"$IDRAC_PASSWORD\"" + echo "iDRAC/IPMI username: $IDRAC_USERNAME" + #echo "iDRAC/IPMI password: $IDRAC_PASSWORD" + IDRAC_LOGIN_STRING="lanplus -H $IDRAC_HOST -U $IDRAC_USERNAME -P $IDRAC_PASSWORD" fi }