diff options
Diffstat (limited to 'init.d.misc/wpa_supplicant.in')
-rw-r--r-- | init.d.misc/wpa_supplicant.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init.d.misc/wpa_supplicant.in b/init.d.misc/wpa_supplicant.in index e7cd12d3..7b7ddc57 100644 --- a/init.d.misc/wpa_supplicant.in +++ b/init.d.misc/wpa_supplicant.in @@ -39,6 +39,11 @@ find_wireless() fi done ;; + FreeBSD) + for iface in $(sysctl -b net.wlan.devices 2>/dev/null); do + echo "${iface##*/}" + done + ;; *) for iface in /dev/net/* $(ifconfig -l 2>/dev/null); do if ifconfig "${iface##*/}" 2>/dev/null | \ |