mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-20 03:14:44 +02:00
Allow /dev/ttyUSB2 as wan device for 3g (#2269)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8717 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f4824bc14d
commit
d3f52dab1d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user