aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRiley Andrews <riandrews@google.com>2014-06-24 16:29:16 -0700
committerRiley Andrews <riandrews@google.com>2014-06-24 17:11:10 -0700
commite739d7e6cd94e8300f9ea61a2d57d88328755b9f (patch)
tree8e161f6b96fdbecabb389b35aaa9e2acc7fe6501 /etc
parentcfd4b2864534f062a01730d81b2cd7e054087e8f (diff)
downloadbootable_recovery-e739d7e6cd94e8300f9ea61a2d57d88328755b9f.zip
bootable_recovery-e739d7e6cd94e8300f9ea61a2d57d88328755b9f.tar.gz
bootable_recovery-e739d7e6cd94e8300f9ea61a2d57d88328755b9f.tar.bz2
Fix recovery mode.
Duplicate changes made to init.rc for https://android-review.googlesource.com/98852 in the init.rc used for recovery mode. Bug 15849856 Change-Id: Ia376ddf6373a28718653f7fb1435bf7ecb33d813
Diffstat (limited to 'etc')
-rw-r--r--etc/init.rc20
1 files changed, 19 insertions, 1 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 6e0595b..cd25d98 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -44,13 +44,31 @@ on fs
on boot
-
ifup lo
hostname localhost
domainname localdomain
class_start default
+# Load properties from /system/ + /factory after fs mount.
+on load_all_props_action
+ load_all_props
+
+# Mount filesystems and start core system services.
+on late-init
+ trigger early-fs
+ trigger fs
+ trigger post-fs
+ trigger post-fs-data
+
+ # Load properties from /system/ + /factory after fs mount. Place
+ # this in another action so that the load will be scheduled after the prior
+ # issued fs triggers have completed.
+ trigger load_all_props_action
+
+ trigger early-boot
+ trigger boot
+
on property:sys.powerctl=*
powerctl ${sys.powerctl}