[package] acx: Detect every device present

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26150 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Vasilis Tsiligiannis 2011-03-13 20:58:20 +00:00
parent 20d30c5904
commit 7f2b269416
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ detect_acx() {
cd /sys/class/net
for dev in $(ls -d wlan* 2>&-); do
config_get type "$dev" type
[ "$type" = acx ] && return
[ "$type" = acx ] && continue
cat <<EOF
config wifi-device $dev
option type acx