summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2015-02-19 23:30:26 +0100
committerBill Yi <byi@google.com>2015-02-19 23:30:26 +0100
commitc2b60b9870955c14ec8434353d617ebca6f44368 (patch)
treeb4e77beaa28fb350fd94ad2f9dbc1e032bdc39a1 /etc
parentMerge "Move adb_main to its own file." (diff)
parentam ff934d02: Merge "Fix Droid and animation color in recovery mode" (diff)
downloadandroid_bootable_recovery-c2b60b9870955c14ec8434353d617ebca6f44368.tar
android_bootable_recovery-c2b60b9870955c14ec8434353d617ebca6f44368.tar.gz
android_bootable_recovery-c2b60b9870955c14ec8434353d617ebca6f44368.tar.bz2
android_bootable_recovery-c2b60b9870955c14ec8434353d617ebca6f44368.tar.lz
android_bootable_recovery-c2b60b9870955c14ec8434353d617ebca6f44368.tar.xz
android_bootable_recovery-c2b60b9870955c14ec8434353d617ebca6f44368.tar.zst
android_bootable_recovery-c2b60b9870955c14ec8434353d617ebca6f44368.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 1b402e20d..c78a44a2a 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -30,6 +30,7 @@ on init
chmod 0775 /tmp
write /proc/sys/kernel/panic_on_oops 1
+ write /proc/sys/vm/max_map_count 1000000
on fs
mkdir /dev/usb-ffs 0770 shell shell
@@ -45,7 +46,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
@@ -57,6 +57,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
@@ -69,6 +72,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