Skip to content

Commit

Permalink
Fix for second CPU temperature lower threshold.
Browse files Browse the repository at this point in the history
  • Loading branch information
7Adrian authored and tigerblue77 committed Mar 1, 2024
1 parent 719e790 commit 44e2dd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dell_iDRAC_fan_controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ while true; do
else
if $ENABLE_LINE_INTERPOLATION
then
CURRENT_FAN_SPEED=$FAN_SPEED
if [ $CPU1_TEMPERATURE -gt $CPU_TEMPERATURE_FOR_START_LINE_INTERPOLATION ];
CURRENT_FAN_SPEED=$DECIMAL_FAN_SPEED
if [ $CPU1_TEMPERATURE -gt $CPU_TEMPERATURE_FOR_START_LINE_INTERPOLATION ] || [$IS_CPU2_TEMPERATURE_SENSOR_PRESENT] && [$CPU2_TEMPERATURE -gt $CPU_TEMPERATURE_FOR_START_LINE_INTERPOLATION];
then
CPU_HIGHER_TEMP=$CPU1_TEMPERATURE
if $IS_CPU2_TEMPERATURE_SENSOR_PRESENT
Expand Down

0 comments on commit 44e2dd0

Please sign in to comment.