summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
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