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/daily | |
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/daily')
-rw-r--r-- | etc/daily | 30 |
1 files changed, 0 insertions, 30 deletions
@@ -34,19 +34,6 @@ if [ -f /etc/news.expire ]; then /etc/news.expire fi -if [ -d /var/account ] ; then - echo "" - echo "Purging accounting records:" - cd /var/account - if [ -f acct.2 ] ; then mv -f acct.2 acct.3 ; fi - if [ -f acct.1 ] ; then mv -f acct.1 acct.2 ; fi - if [ -f acct.0 ] ; then mv -f acct.0 acct.1 ; fi - if [ -f acct ] ; then - cp -pf acct acct.0 - sa -s > /dev/null - fi -fi - echo "" echo "Backup passwd and group files:" if [ ! -f $bak/master.passwd.bak ] ; then @@ -90,23 +77,6 @@ echo "" echo "Running calendar:" calendar -a -echo "" -echo "Rotating mail log:" -cd /var/log -rm -f maillog.7 -if [ -f maillog.6 ]; then mv -f maillog.6 maillog.7; fi -if [ -f maillog.5 ]; then mv -f maillog.5 maillog.6; fi -if [ -f maillog.4 ]; then mv -f maillog.4 maillog.5; fi -if [ -f maillog.3 ]; then mv -f maillog.3 maillog.4; fi -if [ -f maillog.2 ]; then mv -f maillog.2 maillog.3; fi -if [ -f maillog.1 ]; then mv -f maillog.1 maillog.2; fi -if [ -f maillog.0 ]; then mv -f maillog.0 maillog.1; fi -mv -f maillog maillog.0 -cp /dev/null maillog -chmod 644 maillog -kill -1 `cat /var/run/syslog.pid` -cd / - if [ -d /var/spool/uucp -a -f /etc/uuclean.daily ]; then echo "" echo "Cleaning up UUCP:" |