Last active
October 26, 2022 19:16
-
-
Save kriipke/5e52c38e163a54970c9efaa67272d1b1 to your computer and use it in GitHub Desktop.
sets fan speed on local R410 using ipmitool, includes shell script & functionally identical systemd unit file (which runs the command @ boot)
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
| # /etc/systemd/system/ipmifans.service | |
| [Unit] | |
| Description=This unit change the fan speed speed to decrease noise | |
| After=basic.target | |
| Wants=default.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/bin/ipmitool -U root raw 0x30 0x30 0x02 0xff 0x1e | |
| ExecStartPre=/usr/bin/ipmitool -U root raw 0x30 0x30 0x01 0x00 | |
| [Install] | |
| WantedBy=multi-user.target |
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
| #!/bin/sh | |
| ipmitool -U root raw 0x30 0x30 0x01 0x00 | |
| ipmitool -U root raw 0x30 0x30 0x02 0xff 0x1e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment