periodic: move some periodic scripts to their packages
Periodic scripts for rwho, geom, zfs and tcpwrappers are only relevant if those packages are installed, so move them to the appropriate package. Reviewed by: manu, des, emaste Approved by: des (mentor) Differential Revision: https://reviews.freebsd.org/D50341
This commit is contained in:
@@ -7,17 +7,9 @@ CONFGROUPS= CONFS
|
|||||||
CONFS= 100.clean-disks \
|
CONFS= 100.clean-disks \
|
||||||
110.clean-tmps \
|
110.clean-tmps \
|
||||||
120.clean-preserve \
|
120.clean-preserve \
|
||||||
140.clean-rwho \
|
|
||||||
200.backup-passwd \
|
200.backup-passwd \
|
||||||
210.backup-aliases \
|
210.backup-aliases \
|
||||||
221.backup-gpart \
|
|
||||||
222.backup-gmirror \
|
|
||||||
400.status-disks \
|
400.status-disks \
|
||||||
401.status-graid \
|
|
||||||
406.status-gmirror \
|
|
||||||
407.status-graid3 \
|
|
||||||
408.status-gstripe \
|
|
||||||
409.status-gconcat \
|
|
||||||
410.status-mfi \
|
410.status-mfi \
|
||||||
420.status-network \
|
420.status-network \
|
||||||
430.status-uptime \
|
430.status-uptime \
|
||||||
@@ -25,6 +17,20 @@ CONFS= 100.clean-disks \
|
|||||||
510.status-world-kernel \
|
510.status-world-kernel \
|
||||||
999.local
|
999.local
|
||||||
|
|
||||||
|
CONFGROUPS+= GEOM
|
||||||
|
GEOM+= 221.backup-gpart \
|
||||||
|
222.backup-gmirror \
|
||||||
|
401.status-graid \
|
||||||
|
406.status-gmirror \
|
||||||
|
407.status-graid3 \
|
||||||
|
408.status-gstripe \
|
||||||
|
409.status-gconcat
|
||||||
|
GEOMPACKAGE= geom
|
||||||
|
|
||||||
|
CONFGROUPS+= RCMDS
|
||||||
|
RCMDS+= 140.clean-rwho
|
||||||
|
RCMDSPACKAGE= rcmds
|
||||||
|
|
||||||
# NB: keep these sorted by MK_* knobs
|
# NB: keep these sorted by MK_* knobs
|
||||||
|
|
||||||
.if ${MK_ACCT} != "no"
|
.if ${MK_ACCT} != "no"
|
||||||
@@ -60,10 +66,12 @@ SENDMAILPACKAGE= sendmail
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_ZFS} != "no"
|
.if ${MK_ZFS} != "no"
|
||||||
CONFS+= 223.backup-zfs \
|
CONFGROUPS+= ZFS
|
||||||
|
ZFS+= 223.backup-zfs \
|
||||||
404.status-zfs \
|
404.status-zfs \
|
||||||
800.scrub-zfs \
|
800.scrub-zfs \
|
||||||
801.trim-zfs
|
801.trim-zfs
|
||||||
|
ZFSPACKAGE= zfs
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|||||||
@@ -40,7 +40,9 @@ PFPACKAGE= pf
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_INETD} != "no" && ${MK_TCP_WRAPPERS} != "no"
|
.if ${MK_INETD} != "no" && ${MK_TCP_WRAPPERS} != "no"
|
||||||
CONFS+= 900.tcpwrap
|
CONFGROUPS+= TCPWRAP
|
||||||
|
TCPWRAP+= 900.tcpwrap
|
||||||
|
TCPWRAPPACKAGE= tcpd
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|||||||
Reference in New Issue
Block a user