fastboot: allow device to start required healthd and boot-hal services
Change-Id: Iac1d20ce26d49e7a99071c968d8c8e654e5ff1c6
diff --git a/etc/init/android.hardware.health@2.0-service.rc b/etc/init/android.hardware.health@2.0-service.rc
new file mode 100644
index 0000000..ef17467
--- /dev/null
+++ b/etc/init/android.hardware.health@2.0-service.rc
@@ -0,0 +1,10 @@
+on boot
+ start health-hal-2-0
+
+service health-hal-2-0 /system/bin/android.hardware.health@2.0-service
+ disabled
+ user root
+ group root
+ capabilities WAKE_ALARM
+ file /dev/kmsg w
+ seclabel u:r:recovery:s0