Fix accounting package rc.d/accounting conflict.

Add periodic(8) accounting scripts to acct package.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-01-28 18:44:31 +00:00
parent 674c45857c
commit a5a71822df
3 changed files with 14 additions and 3 deletions

View File

@ -2,6 +2,8 @@
.include <src.opts.mk>
FILESGROUPS=FILES
FILES= 100.clean-disks \
110.clean-tmps \
120.clean-preserve \
@ -23,8 +25,12 @@ FILES= 100.clean-disks \
# NB: keep these sorted by MK_* knobs
.if ${MK_ACCT} != "no"
FILES+= 310.accounting
FILESGROUPS+= ACCT
ACCT+= 310.accounting
.endif
ACCTDIR= /etc/periodic/daily
ACCTMODE= ${BINMODE}
ACCTPACKAGE= acct
.if ${MK_CALENDAR} != "no"
FILES+= 300.calendar

View File

@ -2,13 +2,19 @@
.include <src.opts.mk>
FILESGROUPS=FILES
FILES= 450.status-security \
999.local
# NB: keep these sorted by MK_* knobs
.if ${MK_UTMPX} != "no"
FILES+= 200.accounting
FILESGROUPS+= ACCT
ACCT+= 200.accounting
.endif
ACCTDIR= /etc/periodic/monthly
ACCTMODE= ${BINMODE}
ACCTPACKAGE= acct
.include <bsd.prog.mk>

View File

@ -10,7 +10,6 @@ FILES= DAEMON \
NETWORKING \
SERVERS \
abi \
accounting \
addswap \
adjkerntz \
archdep \