summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2021-11-13 05:27:15 +0100
committerYifan Hong <elsk@google.com>2021-11-17 19:14:41 +0100
commitcb22b13418b73d6d7b55e28a017348fecf8b6e98 (patch)
tree468c4a5e342075f1dd3f30fc8d75cbe8dd264863 /etc
parentMerge "Merge Android 12" (diff)
downloadandroid_bootable_recovery-cb22b13418b73d6d7b55e28a017348fecf8b6e98.tar
android_bootable_recovery-cb22b13418b73d6d7b55e28a017348fecf8b6e98.tar.gz
android_bootable_recovery-cb22b13418b73d6d7b55e28a017348fecf8b6e98.tar.bz2
android_bootable_recovery-cb22b13418b73d6d7b55e28a017348fecf8b6e98.tar.lz
android_bootable_recovery-cb22b13418b73d6d7b55e28a017348fecf8b6e98.tar.xz
android_bootable_recovery-cb22b13418b73d6d7b55e28a017348fecf8b6e98.tar.zst
android_bootable_recovery-cb22b13418b73d6d7b55e28a017348fecf8b6e98.zip
Diffstat (limited to 'etc')
-rw-r--r--etc/init.rc8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 5cacb8bdb..983d91aa4 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -38,6 +38,14 @@ on init
write /proc/sys/kernel/panic_on_oops 1
write /proc/sys/vm/max_map_count 1000000
+ # Mount binderfs
+ mkdir /dev/binderfs
+ mount binder binder /dev/binderfs stats=global
+ chmod 0755 /dev/binderfs
+
+ symlink /dev/binderfs/binder /dev/binder
+ chmod 0666 /dev/binderfs/binder
+
on boot
ifup lo
hostname localhost