summaryrefslogtreecommitdiffstats
path: root/etc/weekly
diff options
context:
space:
mode:
authorgraichen <graichen@FreeBSD.org>1996-01-05 10:09:13 +0000
committergraichen <graichen@FreeBSD.org>1996-01-05 10:09:13 +0000
commit33c5bdb9ab3aeaafcd9fdcb53962cff1484c52ff (patch)
tree5b52ffe6faf686dda1dd9ddaecb9f3f2929544bf /etc/weekly
parent3cfe176aafa53c3e6986167919d424db722feb4b (diff)
downloadFreeBSD-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/weekly22
1 files changed, 0 insertions, 22 deletions
diff --git a/etc/weekly b/etc/weekly
index eddc987..aa75c5e 100644
--- a/etc/weekly
+++ b/etc/weekly
@@ -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:"
OpenPOWER on IntegriCloud