diff --git a/etc/Makefile b/etc/Makefile index b19a1251a801..a40cf6c60c7c 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,5 +1,5 @@ # from: @(#)Makefile 5.11 (Berkeley) 5/21/91 -# $Id: Makefile,v 1.153 1997/07/18 03:49:47 asami Exp $ +# $Id: Makefile,v 1.154 1997/08/02 00:22:44 davidn Exp $ # -rw-r--r-- BINOWN= root @@ -56,6 +56,7 @@ distribution: ${DESTDIR}/var/cron/log; \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \ master.passwd ${DESTDIR}/etc; \ + ( cd ${.CURDIR}/cron.d; ${MAKE} install );\ ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall );\ ( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install ); \ ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \ diff --git a/etc/cron.d/Makefile b/etc/cron.d/Makefile new file mode 100644 index 000000000000..af87a33f191f --- /dev/null +++ b/etc/cron.d/Makefile @@ -0,0 +1,5 @@ +# $Id$ + +SUBDIR= daily weekly monthly + +.include diff --git a/etc/cron.d/Makefile.inc b/etc/cron.d/Makefile.inc new file mode 100644 index 000000000000..c3a726efcca7 --- /dev/null +++ b/etc/cron.d/Makefile.inc @@ -0,0 +1,12 @@ +# $Id$ + +BINDIR= /etc/cron.d/${.CURDIR:T} +BINOWN= root +BINGRP= wheel + +all depend etc lint: + +install: + cd ${.CURDIR}; \ + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 ${BIN} \ + ${DESTDIR}/${BINDIR} diff --git a/etc/cron.d/daily/Makefile b/etc/cron.d/daily/Makefile new file mode 100644 index 000000000000..8feac95c6e50 --- /dev/null +++ b/etc/cron.d/daily/Makefile @@ -0,0 +1,24 @@ +# $Id$ + +BIN= 100.clean-disks \ + 110.clean-tmps \ + 120.clean-preserve \ + 130.clean-msgs \ + 140.clean-rwho \ + 200.backup-passwd \ + 210.backup-aliases \ + 220.backup-distfile \ + 300.calendar \ + 310.accounting \ + 320.rdist \ + 330.news \ + 340.uucp \ + 400.status-disks \ + 410.status-uucp \ + 420.status-network \ + 430.status-rwho \ + 440.status-mailq \ + 450.status-security \ + 999.local + +.include diff --git a/etc/cron.d/monthly/999.monthly.local b/etc/cron.d/monthly/999.local similarity index 66% rename from etc/cron.d/monthly/999.monthly.local rename to etc/cron.d/monthly/999.local index ce7ed0cee999..2b3c984bd188 100755 --- a/etc/cron.d/monthly/999.monthly.local +++ b/etc/cron.d/monthly/999.local @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id$ +# $Id: 999.monthly.local,v 1.1.1.1 1997/08/12 17:51:16 pst Exp $ # if [ -f /etc/monthly.local ]; then echo "" diff --git a/etc/cron.d/monthly/Makefile b/etc/cron.d/monthly/Makefile new file mode 100644 index 000000000000..9cb81a82fda7 --- /dev/null +++ b/etc/cron.d/monthly/Makefile @@ -0,0 +1,6 @@ +# $Id$ + +BIN= 200.accounting \ + 999.local + +.include diff --git a/etc/cron.d/weekly/Makefile b/etc/cron.d/weekly/Makefile new file mode 100644 index 000000000000..22d02ce7847f --- /dev/null +++ b/etc/cron.d/weekly/Makefile @@ -0,0 +1,11 @@ +# $Id$ + +BIN= 100.clean-src \ + 120.clean-kvmdb + 300.uucp \ + 310.locate \ + 320.whatis \ + 330.catman \ + 999.local + +.include