Allow /dev/ttyUSB2 as wan device for 3g (#2269)

SVN-Revision: 8717
owl
Florian Fainelli 2007-09-09 18:41:49 +00:00
parent 6a06ccf9b6
commit aadbdb185f
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ scan_3g() {
# try to figure out the device if it's invalid # try to figure out the device if it's invalid
[ -n "$device" -a -e "$device" ] || { [ -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" ] && { [ -e "$device" ] && {
config_set "$1" device "$device" config_set "$1" device "$device"
break break