summaryrefslogtreecommitdiff
path: root/package/comgt
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-05 15:43:33 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-02-05 15:43:33 +0000
commit08d86463d816ce8bab3aee46d7559d51f94e65ae (patch)
treec543abeb9ea080295c6143abeb96801deab32b2b /package/comgt
parent3930646affbdca1860cd5a73901452541ab143ce (diff)
Allow more ttyUSB<N> devices to use the 3g script (#3098)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10396 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 2859a1bda7..500269ce3d 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