From b941afa162af688719415526d760d7d7f2b962b0 Mon Sep 17 00:00:00 2001 From: gjb Date: Thu, 3 Oct 2013 15:19:16 +0000 Subject: Do not install bluetooth rc(8) scripts if MK_BLUETOOTH = no. Approved by: re (glebius) MFC after: 3 days Sponsored by: The FreeBSD Foundation --- etc/rc.d/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'etc/rc.d') 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 -- cgit v1.1