add initscript required for usb tethering

This commit is contained in:
milaq 2012-06-05 23:37:53 +02:00
parent 12cc46d8d4
commit 382313d39e
2 changed files with 5 additions and 0 deletions

1
leo.mk
View File

@ -102,6 +102,7 @@ PRODUCT_COPY_FILES += \
# This file is used to install the enable RMNET and corresponding modules which dont get activated by normal module script, mount cache so that downloads work correctly
PRODUCT_COPY_FILES += \
device/htc/leo/prebuilt/init.d/01modules:system/etc/init.d/01modules \
device/htc/leo/prebuilt/init.d/02usb_tethering:system/etc/init.d/02usb_tethering \
device/htc/leo/prebuilt/init.d/10mic_level:system/etc/init.d/10mic_level \
device/htc/leo/prebuilt/init.d/97ppp:system/etc/init.d/97ppp

View File

@ -0,0 +1,4 @@
#!/system/bin/sh
# A workaround for native USB Tethering (by tytung)
/system/bin/netcfg usb0 up