freebsd-dev/etc/periodic/daily/Makefile
Glen Barber 45ccd77b60 Fix periodic(8) and rc(8) script inclusion to rcmds package.
Sponsored by:	The FreeBSD Foundation
2016-01-30 01:52:18 +00:00

69 lines
1.1 KiB
Makefile

# $FreeBSD$
.include <src.opts.mk>
FILESGROUPS=FILES
FILES= 100.clean-disks \
110.clean-tmps \
120.clean-preserve \
200.backup-passwd \
210.backup-aliases \
330.news \
400.status-disks \
401.status-graid \
406.status-gmirror \
407.status-graid3 \
408.status-gstripe \
409.status-gconcat \
420.status-network \
430.status-uptime \
450.status-security \
510.status-world-kernel \
999.local
# NB: keep these sorted by MK_* knobs
.if ${MK_ACCT} != "no"
FILESGROUPS+= ACCT
ACCT+= 310.accounting
.endif
ACCTDIR= /etc/periodic/daily
ACCTMODE= ${BINMODE}
ACCTPACKAGE= acct
.if ${MK_CALENDAR} != "no"
FILES+= 300.calendar
.endif
.if ${MK_MAIL} != "no"
FILES+= 130.clean-msgs
.endif
.if ${MK_NTP} != "no"
FILES+= 480.status-ntpd \
480.leapfile-ntpd
.endif
.if ${MK_RCMDS} != "no"
FILESGROUPS+= RCMDS
RCMDS+= 140.clean-rwho
.endif
RCMDSDIR= /etc/periodic/daily
RCMDSMODE= ${BINMODE}
RCMDSPACKAGE= rcmds
.if ${MK_SENDMAIL} != "no"
FILES+= 150.clean-hoststat \
440.status-mailq \
460.status-mail-rejects \
500.queuerun
.endif
.if ${MK_ZFS} != "no"
FILES+= 404.status-zfs \
800.scrub-zfs
.endif
.include <bsd.prog.mk>