aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-09-07 01:48:39 +0000
committerCy Schubert <cy@FreeBSD.org>2021-09-07 12:55:48 +0000
commit5fcdc19a81115d975e238270754e28557a2fcfc5 (patch)
treec70b69adddd0c2c64e8b140b62fdd7709eae2121 /libexec
parent94d9439b6be6bd5ef9febfaf38128e0cad91476d (diff)
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/rc/rc.d/wpa_supplicant5
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/wpa_supplicant b/libexec/rc/rc.d/wpa_supplicant
index 8a86fec90e4d..3c5c9d243f68 100755
--- a/libexec/rc/rc.d/wpa_supplicant
+++ b/libexec/rc/rc.d/wpa_supplicant
@@ -12,6 +12,7 @@
name="wpa_supplicant"
desc="WPA/802.11i Supplicant for wireless network devices"
+start_postcmd="wpa_poststart"
rcvar=
ifn="$2"
@@ -27,6 +28,10 @@ is_ndis_interface()
esac
}
+wpa_poststart() {
+ ifconfig ${ifn} up
+}
+
if is_wired_interface ${ifn} ; then
driver="wired"
elif is_ndis_interface ${ifn} ; then