aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2016-01-30 01:52:18 +0000
committerGlen Barber <gjb@FreeBSD.org>2016-01-30 01:52:18 +0000
commit45ccd77b609b760fe52b4e1f073daa4c00119077 (patch)
tree551e30192910d9b901a9cdd480f37220002c124a /etc
parent1793d3395d16e19373568d81d77adad14a2fd158 (diff)
downloadsrc-45ccd77b609b760fe52b4e1f073daa4c00119077.tar.gz
src-45ccd77b609b760fe52b4e1f073daa4c00119077.zip
Fix periodic(8) and rc(8) script inclusion to rcmds package.
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-pkg/; revision=295058
Diffstat (limited to 'etc')
-rw-r--r--etc/periodic/daily/Makefile6
-rw-r--r--etc/rc.d/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/etc/periodic/daily/Makefile b/etc/periodic/daily/Makefile
index 41e05eecab9f..d2052f22c734 100644
--- a/etc/periodic/daily/Makefile
+++ b/etc/periodic/daily/Makefile
@@ -46,8 +46,12 @@ FILES+= 480.status-ntpd \
.endif
.if ${MK_RCMDS} != "no"
-FILES+= 140.clean-rwho
+FILESGROUPS+= RCMDS
+RCMDS+= 140.clean-rwho
.endif
+RCMDSDIR= /etc/periodic/daily
+RCMDSMODE= ${BINMODE}
+RCMDSPACKAGE= rcmds
.if ${MK_SENDMAIL} != "no"
FILES+= 150.clean-hoststat \
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index f3a16c9a91d9..859f5844cc6a 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -281,8 +281,12 @@ FILES+= ftp-proxy
.endif
.if ${MK_RCMDS} != "no"
-FILES+= rwho
+FILESGROUPS+= RCMDS
+RCMDS+= rwho
.endif
+RCMDSDIR= /etc/rc.d
+RCMDSMODE= ${BINMODE}
+RCMDSPACKAGE= rcmds
.if ${MK_ROUTED} != "no"
FILES+= routed