diff --git a/fan_control.sh b/fan_control.sh index e743a8f..4fc554b 100644 --- a/fan_control.sh +++ b/fan_control.sh @@ -36,7 +36,7 @@ echo "--> iDRAC IP Address: $IDRAC_IP" echo "--> Current Inlet Temp: $T" # If ambient temperature is above 35deg C enable dynamic control and exit, if below set manual control. -if [[ $T > $TEMP_THRESHOLD ]] +if [[ $T -ge $TEMP_THRESHOLD ]] then echo "--> Temperature is above 35deg C" echo "--> Enabled dynamic fan control"