Add IPMI fan control scripts, reading credentials from conf/

ipmi-fancontrol.service pins the fans to a fixed speed on start and hands
control back to the BMC's automatic curve on stop, to quiet the chassis.

BMC credentials are read from conf/ipmi-fancontrol.conf, resolved relative
to the scripts themselves so the tree stays self-contained whether it is run
from a checkout or from /opt/ergosteur. See conf/ipmi-fancontrol.conf.example.

Use ipmitool -E rather than -P so the password is passed via the environment
instead of argv, where any local user could read it out of ps.

docker-idrac.sh is the alternative temperature-aware controller.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
ergosteur
2026-08-06 15:45:12 +00:00
co-authored by Claude Opus 5
parent 5a661d728f
commit be5cc9b505
5 changed files with 91 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=IPMI Fan Control silencing
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/opt/ergosteur/ipmi-fancontrol-manual
ExecStop=/opt/ergosteur/ipmi-fancontrol-auto
[Install]
WantedBy=multi-user.target