init.rc: clean up redundant "on fs" section
Change-Id: Ie5340ce0d31383117602df907ee3cc0b8ec7100c
diff --git a/etc/init.rc b/etc/init.rc
index 81a1974..9624e22 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -46,12 +46,6 @@
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 @@
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