Skip to content

Commit

Permalink
Update Dell_iDRAC_fan_controller.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
7Adrian authored and tigerblue77 committed Mar 1, 2024
1 parent 2ebc650 commit 719e790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dell_iDRAC_fan_controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit 719e790

Please sign in to comment.