summarylogtreecommitdiffstats
path: root/dell-bios-fan-control.service
diff options
context:
space:
mode:
Diffstat (limited to 'dell-bios-fan-control.service')
-rw-r--r--dell-bios-fan-control.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/dell-bios-fan-control.service b/dell-bios-fan-control.service
new file mode 100644
index 000000000000..e1db1e0633dc
--- /dev/null
+++ b/dell-bios-fan-control.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Disables BIOS control of fans at boot.
+Before=i8kmon.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/dell-bios-fan-control 0
+RemainAfterExit=true
+ExecStop=/usr/bin/dell-bios-fan-control 1
+
+[Install]
+WantedBy=multi-user.target