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/weekly | |
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/weekly')
-rw-r--r-- | etc/weekly | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -41,28 +41,6 @@ if [ -f /usr/libexec/uucp/clean.weekly ]; then echo "Cleaning up UUCP:" echo /usr/libexec/uucp/clean.weekly | su daemon fi -echo "" - -echo "Rotating messages:" -cd /var/log -if [ -f messages.2 ]; then mv -f messages.2 messages.3; fi -if [ -f messages.1 ]; then mv -f messages.1 messages.2; fi -if [ -f messages.0 ]; then mv -f messages.0 messages.1; fi -mv -f messages messages.0 -cp /dev/null messages -chmod 644 messages -kill -1 `cat /var/run/syslog.pid` -cd / - -echo "Rotating cron log:" -cd /var/cron -if [ -f log.2 ]; then mv -f log.2 log.3; fi -if [ -f log.1 ]; then mv -f log.1 log.2; fi -if [ -f log.0 ]; then mv -f log.0 log.1; fi -mv -f log log.0 -cp /dev/null log -chmod 600 log -cd / echo "" echo "Rebuilding locate database:" |