From 719e790baac9810f490dedfaaa78386c594c2300 Mon Sep 17 00:00:00 2001 From: 7Adrian <45349070+7Adrian@users.noreply.github.com> Date: Fri, 1 Mar 2024 19:44:56 +0100 Subject: [PATCH] Update Dell_iDRAC_fan_controller.sh --- Dell_iDRAC_fan_controller.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dell_iDRAC_fan_controller.sh b/Dell_iDRAC_fan_controller.sh index f9c7519..9553282 100755 --- a/Dell_iDRAC_fan_controller.sh +++ b/Dell_iDRAC_fan_controller.sh @@ -182,7 +182,7 @@ while true; do # Temperature above lower value TEMPERATURE_ABOVE_LOWER_THRESHOLD="$((CPU_HIGHER_TEMP - CPU_TEMPERATURE_FOR_START_LINE_INTERPOLATION))" # Difference between higher and lower fan speed - FAN_WINDOW="$((HIGH_FAN_SPEED - FAN_SPEED))" + FAN_WINDOW="$((DECIMAL_HIGH_FAN_SPEED - FAN_SPEED))" FAN_VALUE_TO_ADD=0 # Check if TEMP_WINDOW is grater than 0 if [ $TEMP_WINDOW -gt $FAN_VALUE_TO_ADD ];