summaryrefslogtreecommitdiff
path: root/init.bullhead.rc
diff options
context:
space:
mode:
authorSandeep Patil <sspatil@google.com>2016-11-01 08:57:44 -0700
committerSandeep Patil <sspatil@google.com>2016-11-01 14:15:39 -0700
commit522a2ebee9e4d88649532cded4efa8027f9bf702 (patch)
tree2abad3190d29d99d708c903e494a93aa45fa18f4 /init.bullhead.rc
parent477e73e49dda62830ab00a6868490a87b48e0d6f (diff)
downloadbullhead-522a2ebee9e4d88649532cded4efa8027f9bf702.tar.gz
charger: launch charger using /charger symlink
This makes it consistent with all other targets, especially since the /sbin/healthd is renamed and likely going away. Update the seclable accordingly too Test: Tested charging only mode Change-Id: Id25f38662b9e8b4eb3ded70a382f2f4e4c972a30 Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'init.bullhead.rc')
-rw-r--r--init.bullhead.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.bullhead.rc b/init.bullhead.rc
index 2250ed1..61fd977 100644
--- a/init.bullhead.rc
+++ b/init.bullhead.rc
@@ -363,10 +363,10 @@ service time_daemon /system/bin/time_daemon
user root
group root
-service charger /sbin/healthd -c
+service charger /charger
class charger
critical
- seclabel u:r:healthd:s0
+ seclabel u:r:charger:s0
service qcamerasvr /vendor/bin/mm-qcamera-daemon
class late_start