summaryrefslogtreecommitdiffstats
path: root/etc/init.rc
diff options
context:
space:
mode:
authorRiley Andrews <riandrews@google.com>2014-06-25 02:31:29 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-06-24 20:00:13 +0200
commit974fe112ae6df95ca6d49688d6e3e459d87e16de (patch)
tree8e161f6b96fdbecabb389b35aaa9e2acc7fe6501 /etc/init.rc
parentMerge "recovery: initialize keys press tracking status" (diff)
parentFix recovery mode. (diff)
downloadandroid_bootable_recovery-974fe112ae6df95ca6d49688d6e3e459d87e16de.tar
android_bootable_recovery-974fe112ae6df95ca6d49688d6e3e459d87e16de.tar.gz
android_bootable_recovery-974fe112ae6df95ca6d49688d6e3e459d87e16de.tar.bz2
android_bootable_recovery-974fe112ae6df95ca6d49688d6e3e459d87e16de.tar.lz
android_bootable_recovery-974fe112ae6df95ca6d49688d6e3e459d87e16de.tar.xz
android_bootable_recovery-974fe112ae6df95ca6d49688d6e3e459d87e16de.tar.zst
android_bootable_recovery-974fe112ae6df95ca6d49688d6e3e459d87e16de.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 6e0595b44..cd25d98dd 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}