diff options
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r-- | rootdir/init.rc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 8a4a37d..7d2addb 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -158,6 +158,31 @@ on init chown system log /sys/fs/pstore/console-ramoops chmod 0440 /sys/fs/pstore/console-ramoops +# Healthd can trigger a full boot from charger mode by signaling this +# property when the power button is held. +on property:sys.boot_from_charger_mode=1 + class_stop charger + trigger late-init + +# 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 post-fs # once everything is setup, no need to modify / mount rootfs rootfs / ro remount |