diff --git a/leo.mk b/leo.mk index 56ad8a6..d84bf79 100644 --- a/leo.mk +++ b/leo.mk @@ -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 diff --git a/prebuilt/init.d/02usb_tethering b/prebuilt/init.d/02usb_tethering new file mode 100755 index 0000000..b8a640f --- /dev/null +++ b/prebuilt/init.d/02usb_tethering @@ -0,0 +1,4 @@ +#!/system/bin/sh +# A workaround for native USB Tethering (by tytung) + +/system/bin/netcfg usb0 up