diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-06-19 15:09:35 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2013-07-26 23:56:17 +0000 |
commit | 13f4c9fb279f1b34a3b47a6eac80b8a09d2d3a79 (patch) | |
tree | e780750523e4f032abf902a0e6ff8b9d52c54e54 /rootdir | |
parent | 5ba57f9a951728593aed559ece93ba821c33e45c (diff) | |
download | system_core-13f4c9fb279f1b34a3b47a6eac80b8a09d2d3a79.zip system_core-13f4c9fb279f1b34a3b47a6eac80b8a09d2d3a79.tar.gz system_core-13f4c9fb279f1b34a3b47a6eac80b8a09d2d3a79.tar.bz2 |
healthd: normal and charger mode startup
Command line flag -n tells healthd not to use (or wait for) servicemanager
in charger mode.
Change-Id: I255f9597dff6fc904f5ed20fd02f52c0531d14f8
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index d93ad28..729879a 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -402,6 +402,16 @@ service ueventd /sbin/ueventd critical seclabel u:r:ueventd:s0 +service healthd /sbin/healthd + class core + critical + seclabel u:r:healthd:s0 + +service healthd-charger /sbin/healthd -n + class charger + critical + seclabel u:r:healthd:s0 + on property:selinux.reload_policy=1 restart ueventd restart installd @@ -432,6 +442,7 @@ service servicemanager /system/bin/servicemanager user system group system critical + onrestart restart healthd onrestart restart zygote onrestart restart media onrestart restart surfaceflinger |