From 382313d39e1a2bb0cc5e63598b37c21182814ab9 Mon Sep 17 00:00:00 2001 From: milaq Date: Tue, 5 Jun 2012 23:37:53 +0200 Subject: [PATCH] add initscript required for usb tethering --- leo.mk | 1 + prebuilt/init.d/02usb_tethering | 4 ++++ 2 files changed, 5 insertions(+) create mode 100755 prebuilt/init.d/02usb_tethering 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