summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2013-10-03 15:19:16 +0000
committergjb <gjb@FreeBSD.org>2013-10-03 15:19:16 +0000
commitb941afa162af688719415526d760d7d7f2b962b0 (patch)
tree3664b7e8d3708714ecaa9d180c4fefa471da6906 /etc
parentade139e19b3d327b8001c33e2660e9af5eaa011a (diff)
downloadFreeBSD-src-b941afa162af688719415526d760d7d7f2b962b0.zip
FreeBSD-src-b941afa162af688719415526d760d7d7f2b962b0.tar.gz
Do not install bluetooth rc(8) scripts if MK_BLUETOOTH = no.
Approved by: re (glebius) MFC after: 3 days Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index 82775f9..e51e2f8 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -21,11 +21,11 @@ FILES= DAEMON \
auditd \
auditdistd \
bgfsck \
- bluetooth \
+ ${_bluetooth} \
bootparams \
bridge \
bsnmpd \
- bthidd \
+ ${_bthidd} \
ccd \
cleanvar \
cleartmp \
@@ -48,7 +48,7 @@ FILES= DAEMON \
gptboot \
gssd \
hastd \
- hcsecd \
+ ${_hcsecd} \
hostapd \
hostid \
hostid_save \
@@ -182,6 +182,9 @@ _nscd= nscd
.endif
.if ${MK_BLUETOOTH} != "no"
+_bluetooth= bluetooth
+_bthidd= bthidd
+_hcsecd= hcsecd
_ubthidhci= ubthidhci
.endif
OpenPOWER on IntegriCloud