diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-05-25 21:31:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-05-25 21:31:25 +0000 |
commit | 859b06ac4c09e0f8e97b860961881b68307b07d6 (patch) | |
tree | 8b526cbee3ac54f799b63580c3e978ac2d0a6928 | |
parent | 88b74b8298dd30f18fcdff8fa07b017713623484 (diff) |
polish comments, no functional change:
1) advertise *.local and next_part near the top of the three scripts
2) daily: mention smtpd(8) mailq behaviour (like for sendmail, postfix, exim)
3) weekly: drop a comment trivially rehashing the next two lines of code
documenting next_part in the scripts was suggested by jmc@
ok sthen@ okan@ halex@; "i won't object" ajacoutot@
-rw-r--r-- | etc/daily | 7 | ||||
-rw-r--r-- | etc/monthly | 5 | ||||
-rw-r--r-- | etc/weekly | 7 |
3 files changed, 13 insertions, 6 deletions
diff --git a/etc/daily b/etc/daily index 438726a079b..acbb57da264 100644 --- a/etc/daily +++ b/etc/daily @@ -1,7 +1,10 @@ # -# $OpenBSD: daily,v 1.64 2009/05/24 21:58:06 schwarze Exp $ +# $OpenBSD: daily,v 1.65 2009/05/25 21:31:24 schwarze Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # +# For local additions, create the file /etc/daily.local. +# To get section headers, use the function next_part in daily.local. +# umask 022 PARTOUT=/var/log/daily.part @@ -139,7 +142,7 @@ if [ "X$VERBOSESTATUS" != X0 ]; then fi # The first two regular expressions handle sendmail, the third postfix. -# When the queue is empty, exim -bp keeps silent. +# When the queue is empty, smtpd(8) and exim -bp keep silent. next_part "mail:" mailq | grep -v -e "^/var/spool/mqueue is empty$" \ -e "^[[:blank:]]*Total requests: 0$" \ diff --git a/etc/monthly b/etc/monthly index 3866349893c..f2d4e46b940 100644 --- a/etc/monthly +++ b/etc/monthly @@ -1,5 +1,8 @@ # -# $OpenBSD: monthly,v 1.11 2009/05/10 19:27:25 schwarze Exp $ +# $OpenBSD: monthly,v 1.12 2009/05/25 21:31:24 schwarze Exp $ +# +# For local additions, create the file /etc/monthly.local. +# To get section headers, use the function next_part in monthly.local. # umask 022 diff --git a/etc/weekly b/etc/weekly index 08ed1452dfa..19e51af2094 100644 --- a/etc/weekly +++ b/etc/weekly @@ -1,5 +1,8 @@ # -# $OpenBSD: weekly,v 1.22 2009/05/18 19:57:56 schwarze Exp $ +# $OpenBSD: weekly,v 1.23 2009/05/25 21:31:24 schwarze Exp $ +# +# For local additions, create the file /etc/weekly.local. +# To get section headers, use the function next_part in weekly.local. # umask 022 @@ -63,8 +66,6 @@ fi next_part "Rebuilding whatis databases:" /usr/libexec/makewhatis -# If LOGINACCOUNTING is set to 1 in the environment, report user -# accounting information next_part "Doing login accounting:" [ "X$LOGINACCOUNTING" = X1 ] && { ac -p | sort -nr -k 2 |