Permalink
Browse files

Do not install bluetooth rc(8) scripts if MK_BLUETOOTH = no.

Approved by:	re (glebius)
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
  • Loading branch information...
1 parent ade139e commit b941afa162af688719415526d760d7d7f2b962b0 gjb committed Oct 3, 2013
Showing with 6 additions and 3 deletions.
  1. +6 −3 etc/rc.d/Makefile
View
@@ -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

0 comments on commit b941afa

Please sign in to comment.