summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
authoravos <avos@FreeBSD.org>2016-12-18 20:40:22 +0000
committeravos <avos@FreeBSD.org>2016-12-18 20:40:22 +0000
commitd17463daf148c379cdbe1bc322811ce7a1a5a075 (patch)
tree0ceb4b68766d799a151bbc5454e62b20d40e5c47 /etc/pccard_ether
parent62d622f3e1d2a8abc1b3868d953c16511f95ca60 (diff)
downloadFreeBSD-src-d17463daf148c379cdbe1bc322811ce7a1a5a075.zip
FreeBSD-src-d17463daf148c379cdbe1bc322811ce7a1a5a075.tar.gz
MFC r309534:
Do not try to recreate wlan(4) interface if it already exists. This should fix error messages caused by devd(8) during startup: Starting Network: lo0 wlan0. ... Starting devd. ifconfig: SIOCS80211: Device busy wpa_supplicant already running? (pid=323).
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether
index 7d324a1..bf4f9c2 100755
--- a/etc/pccard_ether
+++ b/etc/pccard_ether
@@ -120,6 +120,9 @@ pccard_ether_restart()
pccard_ether_startchildren()
{
for child in `get_if_var $ifn wlans_IF`; do
+ if ifexists $child; then
+ continue
+ fi
/etc/rc.d/netif quietstart $child
done
}
OpenPOWER on IntegriCloud