acx: Detect every device present
SVN-Revision: 26150
This commit is contained in:
parent
71e83bd2e1
commit
435f4374a4
@ -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
Block a user