summaryrefslogtreecommitdiffstats
path: root/etc/daily
diff options
context:
space:
mode:
Diffstat (limited to 'etc/daily')
-rw-r--r--etc/daily30
1 files changed, 0 insertions, 30 deletions
diff --git a/etc/daily b/etc/daily
index c93fe52..f36e6d4 100644
--- a/etc/daily
+++ b/etc/daily
@@ -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:"
OpenPOWER on IntegriCloud