aboutsummaryrefslogtreecommitdiffstats
path: root/package/comgt
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
commitc640a3ab2debf7944276920d0d937f08079fe394 (patch)
tree70b16c96a5c1c1cc420e38c3685f57ca790798ff /package/comgt
parent14a051f2ed0563b0e1251dd5a2ce8fe9a692d8d9 (diff)
downloadupstream-c640a3ab2debf7944276920d0d937f08079fe394.tar.gz
upstream-c640a3ab2debf7944276920d0d937f08079fe394.tar.bz2
upstream-c640a3ab2debf7944276920d0d937f08079fe394.zip
Allow /dev/ttyUSB2 as wan device for 3g (#2269)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8717 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 125bec3d69..5274821a1b 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