init.rc: clean up redundant "on fs" section
Change-Id: Ie5340ce0d31383117602df907ee3cc0b8ec7100c
This commit is contained in:
+2
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user