Honor MK_ACCT with etc/rc.d/accounting

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-01-26 08:46:26 +00:00
parent f336605b72
commit 6c5f4450a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277736
2 changed files with 5 additions and 0 deletions

View File

@ -150,6 +150,10 @@ FILES= DAEMON \
zfs \
zvol
.if ${MK_ACCT} != "no"
FILES+= accounting
.endif
.if ${MK_ACPI} != "no"
FILES+= power_profile
.endif

View File

@ -6,6 +6,7 @@
#
.if ${MK_ACCT} == no
OLD_FILES+=etc/rc.d/accounting
OLD_FILES+=etc/periodic/daily/310.accounting
OLD_FILES+=usr/sbin/accton
OLD_FILES+=usr/sbin/sa