summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-03-13 19:44:21 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-03-13 19:44:21 +0100
commitf5c2d6ce24d77aa7c38544c6d2f55400237fdbe5 (patch)
tree0022cc15b5011d8eb5940724b3f4cb7acab2594e /etc
parentAdd UI for entering pattern for device decryption (diff)
parentmerge in lmp-mr1-release history after reset to lmp-mr1-dev (diff)
downloadandroid_bootable_recovery-f5c2d6ce24d77aa7c38544c6d2f55400237fdbe5.tar
android_bootable_recovery-f5c2d6ce24d77aa7c38544c6d2f55400237fdbe5.tar.gz
android_bootable_recovery-f5c2d6ce24d77aa7c38544c6d2f55400237fdbe5.tar.bz2
android_bootable_recovery-f5c2d6ce24d77aa7c38544c6d2f55400237fdbe5.tar.lz
android_bootable_recovery-f5c2d6ce24d77aa7c38544c6d2f55400237fdbe5.tar.xz
android_bootable_recovery-f5c2d6ce24d77aa7c38544c6d2f55400237fdbe5.tar.zst
android_bootable_recovery-f5c2d6ce24d77aa7c38544c6d2f55400237fdbe5.zip
Diffstat (limited to 'etc')
-rw-r--r--etc/init.rc8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/init.rc b/etc/init.rc
index d0d8ed91b..2cc446d0c 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -34,6 +34,7 @@ on init
chmod 0775 /tmp
write /proc/sys/kernel/panic_on_oops 1
+ write /proc/sys/vm/max_map_count 1000000
on fs
mount pstore pstore /sys/fs/pstore
@@ -51,7 +52,6 @@ on fs
write /sys/class/android_usb/android0/iProduct ${ro.product.model}
write /sys/class/android_usb/android0/iSerial ${ro.serialno}
-
on boot
ifup lo
hostname localhost
@@ -63,6 +63,9 @@ on boot
on load_all_props_action
load_all_props
+on firmware_mounts_complete
+ rm /dev/.booting
+
# Mount filesystems and start core system services.
on late-init
trigger early-fs
@@ -75,6 +78,9 @@ on late-init
# issued fs triggers have completed.
trigger load_all_props_action
+ # Remove a file to wake up anything waiting for firmware
+ trigger firmware_mounts_complete
+
trigger early-boot
trigger boot