Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
knobs are set
This commit is contained in:
parent
bdf492a3ac
commit
4bbfcad580
@ -8,12 +8,9 @@ FILES= DAEMON \
|
||||
NETWORKING \
|
||||
SERVERS \
|
||||
abi \
|
||||
accounting \
|
||||
addswap \
|
||||
adjkerntz \
|
||||
amd \
|
||||
apm \
|
||||
apmd \
|
||||
archdep \
|
||||
atm1 \
|
||||
atm2 \
|
||||
@ -164,6 +161,15 @@ FILES= DAEMON \
|
||||
zfs \
|
||||
zvol
|
||||
|
||||
.if ${MK_ACCT} != "no"
|
||||
FILES+= accounting
|
||||
.endif
|
||||
|
||||
.if ${MK_APM} != "no"
|
||||
FILES+= apm
|
||||
FILES+= apmd
|
||||
.endif
|
||||
|
||||
.if ${MK_BLUETOOTH} != "no"
|
||||
_bluetooth= bluetooth
|
||||
_bthidd= bthidd
|
||||
|
@ -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
|
||||
@ -48,6 +49,8 @@ OLD_FILES+=usr/share/man/man8/wire-test.8.gz
|
||||
.endif
|
||||
|
||||
.if ${MK_APM} == no
|
||||
OLD_FILES+=etc/rc.d/apm
|
||||
OLD_FILES+=etc/rc.d/apmd
|
||||
OLD_FILES+=etc/apmd.conf
|
||||
OLD_FILES+=usr/sbin/apm
|
||||
OLD_FILES+=usr/share/examples/etc/apmd.conf
|
||||
|
Loading…
Reference in New Issue
Block a user