summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gsj/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service
diff options
context:
space:
mode:
authorHank Liou <Hank.Liou@quantatw.com>2019-07-17 04:57:48 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-07-19 23:27:50 +0300
commit38e869d755a5387e563c9b286a6b3ab8e925efbe (patch)
tree04b133256743ba1c42bdf2dc72f762ff7e77740a /meta-quanta/meta-gsj/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service
parenta8ee8ba0cbb8a14a0d72e97b7c135bb70f5f6bfb (diff)
downloadopenbmc-38e869d755a5387e563c9b286a6b3ab8e925efbe.tar.xz
meta-quanta: gsj: Lower fan speed to default duty as booting and rebooting
The fan speed is lowered to 90 duty for thermal issue. (From meta-quanta rev: 39041e2fa1e5b816c09925411081acc30010f782) Signed-off-by: Hank Liou <Hank.Liou@quantatw.com> Change-Id: I5a14320a3687326e710976f8bab9bfa65f3b2865 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-quanta/meta-gsj/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service')
-rw-r--r--meta-quanta/meta-gsj/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-quanta/meta-gsj/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service b/meta-quanta/meta-gsj/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service
new file mode 100644
index 000000000..2149c3da5
--- /dev/null
+++ b/meta-quanta/meta-gsj/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