[package] acx: Add newline at end of autodetected wireless config (cosmetic)
[openwrt.git] / package / acx / files / lib / wifi / acx.sh
index 07ff03e..9305b85 100644 (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
@@ -196,6 +196,7 @@ config wifi-iface
        option mode     ap
        option ssid     OpenWrt
        option encryption none
+
 EOF
        done
 }
This page took 0.025891 seconds and 4 git commands to generate.