meta-quanta: gsj: Lower fan speed to default duty as booting and rebooting
The fan speed is lowered to 90 duty for thermal issue.
Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
Change-Id: Ia61e5d7510a93b7fc5d8516e96ed3c0324130f81
diff --git a/meta-gsj/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service b/meta-gsj/recipes-phosphor/fans/phosphor-pid-control/fan-boot-control.service
new file mode 100644
index 0000000..2149c3d
--- /dev/null
+++ b/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