meta-bletchley: update fanX_good and sledX_good LED behaviour
Start fanX_good LED group during sysyem early init.
Add sledX_good LED group start/stop service into obmc-host-startmin@X
and obmc-host-shutdown@X targets.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ibfab75d6f08550806d320b8a95e67d5fd5bedf82
diff --git a/meta-facebook/meta-bletchley/recipes-bletchley/plat-svc/files/bletchley-sys-init.conf b/meta-facebook/meta-bletchley/recipes-bletchley/plat-svc/files/bletchley-sys-init.conf
new file mode 100644
index 0000000..f884f77
--- /dev/null
+++ b/meta-facebook/meta-bletchley/recipes-bletchley/plat-svc/files/bletchley-sys-init.conf
@@ -0,0 +1,11 @@
+[Unit]
+Wants=xyz.openbmc_project.LED.GroupManager.service
+After=xyz.openbmc_project.LED.GroupManager.service
+Wants=obmc-led-group-start@fan0_good.service
+After=obmc-led-group-start@fan0_good.service
+Wants=obmc-led-group-start@fan1_good.service
+After=obmc-led-group-start@fan1_good.service
+Wants=obmc-led-group-start@fan2_good.service
+After=obmc-led-group-start@fan2_good.service
+Wants=obmc-led-group-start@fan3_good.service
+After=obmc-led-group-start@fan3_good.service