summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRiley Andrews <riandrews@google.com>2014-06-25 02:44:02 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-25 02:44:02 +0200
commite8d7dd4ed1a372cb9bf67a1f7ff55aaa3e152053 (patch)
treee021e4e435ef25eba7b23ffdf2ad01122fd329b4
parentrecovery: enable panic_on_oops (diff)
parentam 974fe112: Merge "Fix recovery mode." (diff)
downloadandroid_bootable_recovery-e8d7dd4ed1a372cb9bf67a1f7ff55aaa3e152053.tar
android_bootable_recovery-e8d7dd4ed1a372cb9bf67a1f7ff55aaa3e152053.tar.gz
android_bootable_recovery-e8d7dd4ed1a372cb9bf67a1f7ff55aaa3e152053.tar.bz2
android_bootable_recovery-e8d7dd4ed1a372cb9bf67a1f7ff55aaa3e152053.tar.lz
android_bootable_recovery-e8d7dd4ed1a372cb9bf67a1f7ff55aaa3e152053.tar.xz
android_bootable_recovery-e8d7dd4ed1a372cb9bf67a1f7ff55aaa3e152053.tar.zst
android_bootable_recovery-e8d7dd4ed1a372cb9bf67a1f7ff55aaa3e152053.zip
Diffstat (limited to '')
-rw-r--r--etc/init.rc20
1 files changed, 19 insertions, 1 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 23aca5aa2..effb6449a 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -46,13 +46,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}