From 48d06069a8a6be3a968694dad65ce4c11b7bef22 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Wed, 11 Mar 2015 14:45:05 -0700 Subject: init.rc: logd --reinit on changes to persistent properties Bug: 19681572 Change-Id: I3187aa348dae79fa5822ffb7ee9566919a7a04e6 --- rootdir/init.rc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rootdir') diff --git a/rootdir/init.rc b/rootdir/init.rc index e3b5db9..bc36c3e 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -164,6 +164,7 @@ on property:sys.boot_from_charger_mode=1 # Load properties from /system/ + /factory after fs mount. on load_all_props_action load_all_props + start logd-reinit # Indicate to fw loaders that the relevant mounts are up. on firmware_mounts_complete @@ -430,6 +431,7 @@ on property:vold.decrypt=trigger_reset_main on property:vold.decrypt=trigger_load_persist_props load_persist_props + start logd-reinit on property:vold.decrypt=trigger_post_fs_data trigger post-fs-data @@ -472,6 +474,10 @@ service logd /system/bin/logd socket logdr seqpacket 0666 logd logd socket logdw dgram 0222 logd logd +service logd-reinit /system/bin/logd --reinit + oneshot + disabled + service healthd /sbin/healthd class core critical -- cgit v1.1