summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-01-30 01:52:18 +0000
committergjb <gjb@FreeBSD.org>2016-01-30 01:52:18 +0000
commitb2c44719b4ee420ec290bb917b83aa0a17fc1d3b (patch)
tree551e30192910d9b901a9cdd480f37220002c124a
parent60147cf24845ffce6292d4052d2210424d885758 (diff)
downloadFreeBSD-src-b2c44719b4ee420ec290bb917b83aa0a17fc1d3b.zip
FreeBSD-src-b2c44719b4ee420ec290bb917b83aa0a17fc1d3b.tar.gz
Fix periodic(8) and rc(8) script inclusion to rcmds package.
Sponsored by: The FreeBSD Foundation
-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 41e05ee..d2052f2 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 f3a16c9..859f584 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
OpenPOWER on IntegriCloud