diff options
author | avos <avos@FreeBSD.org> | 2016-12-18 20:40:22 +0000 |
---|---|---|
committer | avos <avos@FreeBSD.org> | 2016-12-18 20:40:22 +0000 |
commit | d17463daf148c379cdbe1bc322811ce7a1a5a075 (patch) | |
tree | 0ceb4b68766d799a151bbc5454e62b20d40e5c47 /etc/pccard_ether | |
parent | 62d622f3e1d2a8abc1b3868d953c16511f95ca60 (diff) | |
download | FreeBSD-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-x | etc/pccard_ether | 3 |
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 } |