Currently, I use the following command to set the fan speed of the server after it starts up:
```
ipmitool -I lanplus -H 192.168.31.217 -U root -P calvin raw 0x30 0x30 0x01 0x00
ipmitool -I lanplus -H 192.168.31.217 -U root -P calvin raw 0x30 0x30 0x02 0xff 0x0a
```
The problem is whenever the server restarts, the fan speed will change back to its old state.
That’s really a problem, for example, if I go out and the power goes out and then comes back on. There will be a huge noise made by the server before I get home.
I personally, use a bash script, which runs as a daemon, that dynamically sets the fan speed based on temps.
So, under idle, the servers run nearly silent. Under load, the fans can spin up.
When the script/daemon stops, it restores the default fan curve.
Where do you put the script? I just want to fix the fan speed to 10% when the server power on.