summaryrefslogtreecommitdiff
path: root/package/comgt
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-02-05 15:43:33 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-02-05 15:43:33 +0000
commit752737ff5b40f598f34be6330009c3a0f8e91354 (patch)
tree7b543d9ff11bb410742d4091c8e6d86bd396d8cf /package/comgt
parent2630cb3800ee5a9c6ab18b45ccb10ca56b75f5dc (diff)
downloadmtk-20170518-752737ff5b40f598f34be6330009c3a0f8e91354.zip
mtk-20170518-752737ff5b40f598f34be6330009c3a0f8e91354.tar.gz
mtk-20170518-752737ff5b40f598f34be6330009c3a0f8e91354.tar.bz2
Allow more ttyUSB<N> devices to use the 3g script (#3098)
SVN-Revision: 10396
Diffstat (limited to 'package/comgt')
-rw-r--r--package/comgt/files/3g.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/comgt/files/3g.sh b/package/comgt/files/3g.sh
index 2859a1b..500269c 100644
--- a/package/comgt/files/3g.sh
+++ b/package/comgt/files/3g.sh
@@ -13,7 +13,7 @@ scan_3g() {
# try to figure out the device if it's invalid
[ -n "$device" -a -e "$device" ] || {
- for device in /dev/ttyUSB2 /dev/tts/2 /dev/usb/tts/0 /dev/noz0; do
+ for device in /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/tts/2 /dev/usb/tts/0 /dev/noz0; do
[ -e "$device" ] && {
config_set "$1" device "$device"
break