[package] acx: Detect every device present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26150 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
20d30c5904
commit
7f2b269416
|
@ -181,7 +181,7 @@ detect_acx() {
|
||||||
cd /sys/class/net
|
cd /sys/class/net
|
||||||
for dev in $(ls -d wlan* 2>&-); do
|
for dev in $(ls -d wlan* 2>&-); do
|
||||||
config_get type "$dev" type
|
config_get type "$dev" type
|
||||||
[ "$type" = acx ] && return
|
[ "$type" = acx ] && continue
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
config wifi-device $dev
|
config wifi-device $dev
|
||||||
option type acx
|
option type acx
|
||||||
|
|
Loading…
Reference in New Issue