Allow /dev/ttyUSB2 as wan device for 3g (#2269)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 9 Sep 2007 18:41:49 +0000 (18:41 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 9 Sep 2007 18:41:49 +0000 (18:41 +0000)
SVN-Revision: 8717

package/comgt/files/3g.sh

index 125bec3d697a5a19f23b7c9cfb9b8dbcc0546274..5274821a1b0c362ce1771dc2a62a2a5715a2ffae 100644 (file)
@@ -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