summaryrefslogtreecommitdiffstats
path: root/init.tuna.usb.rc
diff options
context:
space:
mode:
Diffstat (limited to 'init.tuna.usb.rc')
-rw-r--r--init.tuna.usb.rc8
1 files changed, 5 insertions, 3 deletions
diff --git a/init.tuna.usb.rc b/init.tuna.usb.rc
index 26bcf3c..7233c7a 100644
--- a/init.tuna.usb.rc
+++ b/init.tuna.usb.rc
@@ -1,11 +1,13 @@
-on boot
- write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
- write /sys/class/android_usb/android0/iProduct $ro.product.model
+on init
write /sys/class/android_usb/android0/iSerial $ro.serialno
write /sys/class/android_usb/android0/f_rndis/manufacturer Samsung
write /sys/class/android_usb/android0/f_rndis/vendorID 18d1
write /sys/class/android_usb/android0/f_rndis/wceis 1
+on boot
+ write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
+ write /sys/class/android_usb/android0/iProduct $ro.product.model
+
on property:sys.usb.config=mtp
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 18d1