summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc.d/Makefile5
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc1
2 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index 434896b..ef66965 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -69,7 +69,6 @@ FILES= DAEMON \
${_ipxrouted} \
iscsictl \
iscsid \
- jail \
${_kadmind} \
${_kdc} \
keyserv \
@@ -183,6 +182,10 @@ FILES+= bsnmpd
_ipxrouted= ipxrouted
.endif
+.if ${MK_JAIL} != "no"
+FILES+= jail
+.endif
+
.if ${MK_KERBEROS} != "no"
_kadmind= kadmind
_kdc= kdc
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 05da4a3..41aaeee 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -2143,6 +2143,7 @@ OLD_FILES+=usr/share/man/man8/IPXrouted.8.gz
.endif
.if ${MK_JAIL} == no
+OLD_FILES+=etc/rc.d/jail
OLD_FILES+=usr/sbin/jail
OLD_FILES+=usr/sbin/jexec
OLD_FILES+=usr/sbin/jls
OpenPOWER on IntegriCloud