summaryrefslogtreecommitdiffstats
path: root/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2020-02-16 20:56:49 +0000
committerRaptor Engineering Development Team <support@raptorengineering.com>2020-02-17 12:35:13 +0000
commitbc0ca9464ea7b062ac9432d9d03e72acae2078d0 (patch)
treec248dd645dba9adcebe913dffec58d32463d0e20 /meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service
parent8e564b2fc9ff9ea64fd4362faf65fa550500f279 (diff)
downloadtalos-openbmc-bc0ca9464ea7b062ac9432d9d03e72acae2078d0.tar.gz
talos-openbmc-bc0ca9464ea7b062ac9432d9d03e72acae2078d0.zip
Switch fan controls from RCS PID to upstream swampid daemon
WARNING: HIC SUNT DRAGONES! ***WORK IN PROGRESS*** Basic functionality has been hacked in, but this should NOT be relied on in production environments without proper fixes originated from / merged into upstream OpenBMC.
Diffstat (limited to 'meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service')
-rw-r--r--meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service b/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service
new file mode 100644
index 000000000..2149c3da5
--- /dev/null
+++ b/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Set Fan to Default Duty as Booting Up
+DefaultDependencies=no
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/fan-default-speed.sh
+
+[Install]
+WantedBy=sysinit.target
OpenPOWER on IntegriCloud