diff --git a/etc/init.rc b/etc/init.rc index 81a19745..9624e226 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -46,12 +46,6 @@ on init write /proc/sys/kernel/panic_on_oops 1 write /proc/sys/vm/max_map_count 1000000 -on fs - mount pstore pstore /sys/fs/pstore - mkdir /dev/usb-ffs 0770 shell shell - mkdir /dev/usb-ffs/adb 0770 shell shell - mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 - on boot ifup lo hostname localhost @@ -152,7 +146,8 @@ on fs && property:sys.usb.configfs=0 write /sys/class/android_usb/android0/iSerial ${ro.serialno} on fs - mkdir /dev/usb-ffs 0775 shell shell + mount pstore pstore /sys/fs/pstore + mkdir /dev/usb-ffs 0770 shell shell mkdir /dev/usb-ffs/adb 0770 shell shell mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 mkdir /dev/usb-ffs/fastboot 0770 system system