init.rc: clean up redundant "on fs" section

Change-Id: Ie5340ce0d31383117602df907ee3cc0b8ec7100c
This commit is contained in:
Captain Throwback
2020-10-13 15:03:11 -04:00
parent c3793658b3
commit 82c6693ec8
+2 -7
View File
@@ -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