diff options
author | Matt Spinler <spinler@us.ibm.com> | 2016-12-05 10:40:56 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-12-09 20:11:08 +0000 |
commit | bd386c63e4c48dc326ffc291dfb743724caa5804 (patch) | |
tree | b71c7f52b523545cb4d46a1cdac0e0019d2e7346 /meta-openbmc-machines/meta-openpower/meta-ibm | |
parent | 2b0a09f6eae3f2989a8b80b315c3f56cf7f8d9b5 (diff) | |
download | talos-openbmc-bd386c63e4c48dc326ffc291dfb743724caa5804.tar.gz talos-openbmc-bd386c63e4c48dc326ffc291dfb743724caa5804.zip |
Service file to set Witherspoon fan speeds
Service file will call set_fan_speeds.sh at power on
to set a default speed of 8000 RPM.
Can be removed when real fan control is ready.
Change-Id: I776e95effcb58dca330aa2f92b50c2c12ec14695
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/fan-default-speed/fan-default-speed@.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/fan-default-speed/fan-default-speed@.service b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/fan-default-speed/fan-default-speed@.service new file mode 100644 index 000000000..d968fefc6 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/fan-default-speed/fan-default-speed@.service @@ -0,0 +1,16 @@ +[Unit] +Description=Set fans to a default speed + +Wants=obmc-power-on@%i.target +After=obmc-power-on@%i.target +Wants=obmc-host-start-pre@%i.target +Before=obmc-host-start-pre@%i.target +Conflicts=obmc-chassis-stop@%i.target + +[Service] +ExecStart={bindir}/set_fan_speeds.sh 8000 +Type=oneshot +RemainAfterExit=yes + +[Install] +WantedBy=obmc-chassis-start@%i.target |