summaryrefslogtreecommitdiffstats
path: root/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service')
-rw-r--r--meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service b/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service
new file mode 100644
index 000000000..681bdbe00
--- /dev/null
+++ b/meta-rcs/meta-talos/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Set Fan to Default Duty as Rebooting
+DefaultDependencies=no
+After=shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+ExecStart=/usr/bin/fan-default-speed.sh
+
+[Install]
+WantedBy=shutdown.target
OpenPOWER on IntegriCloud