1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 09:33:14 +03:00

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
This commit is contained in:
florian 2008-02-05 15:43:33 +00:00
parent 3930646aff
commit 08d86463d8

View 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/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