mirror of
https://github.com/brezlord/iDRAC7_fan_control.git
synced 2024-11-09 15:38:21 +00:00
Update fan_control.sh
Change > to -ge because of issue when inlet temp drops to single digit.
This commit is contained in:
parent
53e27b8c07
commit
ea0ff2990a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user