diff options
author | graichen <graichen@FreeBSD.org> | 1996-01-05 10:09:13 +0000 |
---|---|---|
committer | graichen <graichen@FreeBSD.org> | 1996-01-05 10:09:13 +0000 |
commit | 33c5bdb9ab3aeaafcd9fdcb53962cff1484c52ff (patch) | |
tree | 5b52ffe6faf686dda1dd9ddaecb9f3f2929544bf /etc/monthly | |
parent | 3cfe176aafa53c3e6986167919d424db722feb4b (diff) | |
download | FreeBSD-src-33c5bdb9ab3aeaafcd9fdcb53962cff1484c52ff.zip FreeBSD-src-33c5bdb9ab3aeaafcd9fdcb53962cff1484c52ff.tar.gz |
changed /etc/[daily,weekly,monthly] to not rotate the logfiles by
"hand", changed /etc/crontab to call /usr/sbin/newsyslog every hour
(the entry was there before - but we haven't had any newsyslog until
today :-) and changed /etc/inetd.conf to also contain (commentet out)
entries for rpc.rquotad and rpc.sprayd (taken from NetBSD)
Diffstat (limited to 'etc/monthly')
-rw-r--r-- | etc/monthly | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/etc/monthly b/etc/monthly index 477d0ce..1f9c603 100644 --- a/etc/monthly +++ b/etc/monthly @@ -10,19 +10,3 @@ echo "Subject: $host monthly run output" # echo "" # echo "Doing login accounting:" # ac -p | sort -nr +1 - -echo "" -echo -n "Rotating log files:" -cd /var/log -for i in kerberos.log lpd-errs wtmp; do - echo -n " $i" - if [ -f $i.5 ]; then mv -f $i.5 $i.6; fi - if [ -f $i.4 ]; then mv -f $i.4 $i.5; fi - if [ -f $i.3 ]; then mv -f $i.3 $i.4; fi - if [ -f $i.2 ]; then mv -f $i.2 $i.3; fi - if [ -f $i.1 ]; then mv -f $i.1 $i.2; fi - if [ -f $i.0 ]; then mv -f $i.0 $i.1; fi - if [ -f $i ]; then mv -f $i $i.0; fi - >$i -done -echo "" |