From: Florian Fainelli Date: Tue, 5 Feb 2008 15:43:33 +0000 (+0000) Subject: Allow more ttyUSB devices to use the 3g script (#3098) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=752737ff5b40f598f34be6330009c3a0f8e91354;p=openwrt%2Fstaging%2Frobimarko.git Allow more ttyUSB devices to use the 3g script (#3098) SVN-Revision: 10396 --- 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