mirror of
https://github.com/brezlord/iDRAC7_fan_control.git
synced 2024-11-09 15:38:21 +00:00
Update fan_control.sh
This commit is contained in:
parent
1dbd1c63cd
commit
e8bb9d229d
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# https://github.com/brezlord/iDRAC7_fan_control
|
||||
# A simple script to control fan speeds on Dell generation 12 PowerEdge servers.
|
||||
# If the inlet temperature is above 35deg C enable iDRAC dynamic control and exit program.
|
||||
# If inlet temp is below 35deg C set fan control to manual and set fan speed to predetermined value.
|
||||
@ -70,4 +71,4 @@ elif [ "$T" -ge 30 ] && [ "$T" -le 34 ]
|
||||
then
|
||||
echo "--> Setting fan speed to 30%"
|
||||
ipmitool -I lanplus -H $IDRAC_IP -U $IDRAC_USER -P $IDRAC_PASSWORD raw 0x30 0x30 0x02 0xff $SPEED30
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user