This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tee /etc/systemd/system/fan-speed.service <<EOF | |
| [Unit] | |
| Description=Set fan speed profile to 'optimal'. | |
| [Service] | |
| Type=oneshot | |
| RemainAfterExit=true | |
| ExecStart=/usr/bin/ipmitool raw 0x30 0x45 0x01 0x02 | |
| ExecStop=/usr/bin/ipmitool raw 0x30 0x45 0x01 0x02 |