mirror of
https://github.com/brezlord/iDRAC7_fan_control.git
synced 2025-04-25 06:56: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"
|
echo "--> Current Inlet Temp: $T"
|
||||||
|
|
||||||
# If ambient temperature is above 35deg C enable dynamic control and exit, if below set manual control.
|
# 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
|
then
|
||||||
echo "--> Temperature is above 35deg C"
|
echo "--> Temperature is above 35deg C"
|
||||||
echo "--> Enabled dynamic fan control"
|
echo "--> Enabled dynamic fan control"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user