summaryrefslogtreecommitdiff
path: root/package/comgt/files/3g.sh
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-09 18:41:49 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-09 18:41:49 +0000
commitd3f52dab1d54c25da2dffd8862bcdb67deff2ca7 (patch)
tree70b16c96a5c1c1cc420e38c3685f57ca790798ff /package/comgt/files/3g.sh
parentf4824bc14d8cbc21aaa23b10d5f03461d00a32d7 (diff)
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/files/3g.sh')
-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