aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/hostapd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc/rc.d/hostapd')
-rwxr-xr-xlibexec/rc/rc.d/hostapd9
1 files changed, 0 insertions, 9 deletions
diff --git a/libexec/rc/rc.d/hostapd b/libexec/rc/rc.d/hostapd
index 264cb4ef476b..15b20c95c488 100755
--- a/libexec/rc/rc.d/hostapd
+++ b/libexec/rc/rc.d/hostapd
@@ -11,15 +11,6 @@
name="hostapd"
desc="Authenticator for IEEE 802.11 networks"
command=${hostapd_program}
-start_postcmd="hostapd_poststart"
-
-hostapd_poststart() {
- if [ -n "$ifn" ]; then
- ifconfig ${ifn} down
- sleep 2
- ifconfig ${ifn} up
- fi
-}
ifn="$2"
if [ -z "$ifn" ]; then