diff --git a/healthd/Android.bp b/healthd/Android.bp index c70278af3..a28544e6c 100644 --- a/healthd/Android.bp +++ b/healthd/Android.bp @@ -56,6 +56,7 @@ cc_binary { cc_binary { name: "healthd", + init_rc: ["healthd.rc"], srcs: [ "HealthServiceHealthd.cpp", ], diff --git a/healthd/healthd.rc b/healthd/healthd.rc new file mode 100644 index 000000000..8e2ebb609 --- /dev/null +++ b/healthd/healthd.rc @@ -0,0 +1,4 @@ +service healthd /system/bin/healthd + class hal + critical + group root system wakelock diff --git a/rootdir/init.rc b/rootdir/init.rc index 3bbc50622..391f42a3b 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -736,11 +736,6 @@ service ueventd /sbin/ueventd seclabel u:r:ueventd:s0 shutdown critical -service healthd /system/bin/healthd - class hal - critical - group root system wakelock - service console /system/bin/sh class core console