projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46ed097
)
Allow more ttyUSB<N> devices to use the 3g script (#3098)
author
Florian Fainelli
<florian@openwrt.org>
Tue, 5 Feb 2008 15:43:33 +0000
(15:43 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Tue, 5 Feb 2008 15:43:33 +0000
(15:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10396
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/comgt/files/3g.sh
patch
|
blob
|
history
diff --git
a/package/comgt/files/3g.sh
b/package/comgt/files/3g.sh
index
2859a1b
..
500269c
100644
(file)
--- 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/ttyUSB
0 /dev/ttyUSB1 /dev/ttyUSB
2 /dev/tts/2 /dev/usb/tts/0 /dev/noz0; do
[ -e "$device" ] && {
config_set "$1" device "$device"
break