summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-26 09:43:08 +0000
committerngie <ngie@FreeBSD.org>2015-01-26 09:43:08 +0000
commit26e27ce8ccbecf10ddb905e2e82973b8dfa6e2ef (patch)
tree6048aa1c0f590e1d6f2b41f63cacd6bf4a53000d
parent3f28aaf80d91579ecd9e3c5e9d36719ef163810f (diff)
downloadFreeBSD-src-26e27ce8ccbecf10ddb905e2e82973b8dfa6e2ef.zip
FreeBSD-src-26e27ce8ccbecf10ddb905e2e82973b8dfa6e2ef.tar.gz
Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
-rw-r--r--etc/rc.d/Makefile5
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc2
2 files changed, 7 insertions, 0 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index ee4b8d2..804966e 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -247,6 +247,11 @@ _unbound= local_unbound
_utx= utx
.endif
+.if ${MK_WIRELESS} != "no"
+FILES+= hostapd
+FILES+= wpa_supplicant
+.endif
+
FILESDIR= /etc/rc.d
FILESMODE= ${BINMODE}
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index bafbaf7..5bc8149 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -4981,6 +4981,8 @@ OLD_FILES+=usr/share/man/man8/utx.8.gz
.if ${MK_WIRELESS} == no
OLD_FILES+=etc/regdomain.xml
+OLD_FILES+=etc/rc.d/hostapd
+OLD_FILES+=etc/rc.d/wpa_supplicant
OLD_FILES+=usr/sbin/ancontrol
OLD_FILES+=usr/sbin/hostapd
OLD_FILES+=usr/sbin/hostapd_cli
OpenPOWER on IntegriCloud