summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-09-09 18:41:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-09-09 18:41:49 +0000
commitaadbdb185fc488d0f95f90d10a0102288779cef8 (patch)
treed76f5d583b9b3b93074f7595e495032d940a735f
parent6a06ccf9b6eb1e6e24e37bdaae84ed6b73df1959 (diff)
downloadmtk-20170518-aadbdb185fc488d0f95f90d10a0102288779cef8.zip
mtk-20170518-aadbdb185fc488d0f95f90d10a0102288779cef8.tar.gz
mtk-20170518-aadbdb185fc488d0f95f90d10a0102288779cef8.tar.bz2
Allow /dev/ttyUSB2 as wan device for 3g (#2269)
SVN-Revision: 8717
-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 125bec3..5274821 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/tts/2 /dev/usb/tts/0 /dev/noz0; do
+ for device in /dev/ttyUSB2 /dev/tts/2 /dev/usb/tts/0 /dev/noz0; do
[ -e "$device" ] && {
config_set "$1" device "$device"
break