aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2018-12-16 23:38:46 +0000
committerAlan Somers <asomers@FreeBSD.org>2018-12-16 23:38:46 +0000
commit738ea87196c3cc90363e45694b0bfba7040c5d73 (patch)
tree699578034416c74dfe2d3f12b59981559c535233 /libexec/rc
parent96a3750174c7fdb4d2d2889e4ea4bd3e8aac4c3e (diff)
Notes
Diffstat (limited to 'libexec/rc')
-rw-r--r--libexec/rc/rc.d/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
index c2a39b5b4f4b2..d8d014cb167af 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -15,8 +15,6 @@ CONFS= DAEMON \
addswap \
adjkerntz \
archdep \
- auditd \
- auditdistd \
bgfsck \
${_blacklistd} \
${_bluetooth} \
@@ -164,6 +162,12 @@ APM+= apmd
APMPACKAGE= apm
.endif
+.if ${MK_AUDIT} != "no"
+CONFGROUPS+= AUDIT
+AUDIT+= auditd
+AUDIT+= auditdistd
+.endif
+
.if ${MK_AUTOFS} != "no"
CONFS+= automount
CONFS+= automountd