summaryrefslogtreecommitdiffstats
path: root/etc/daily
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-08-09 15:18:02 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-08-09 15:18:02 +0000
commit8261c21fc4cf0d322373c258271cb64e22b1afea (patch)
tree3161d9198606fb5c037dafb6757a289ce879d1fe /etc/daily
parent6533a77e905e64b807f9d48f45b5280554ce0af0 (diff)
downloadFreeBSD-src-8261c21fc4cf0d322373c258271cb64e22b1afea.zip
FreeBSD-src-8261c21fc4cf0d322373c258271cb64e22b1afea.tar.gz
Due to the bug with the console drivers and kill syslogd I have disabled that
in the daily and weekly scripts so that we don't get bug reports about something we already know. There are explanory comments in the files.
Diffstat (limited to 'etc/daily')
-rw-r--r--etc/daily36
1 files changed, 20 insertions, 16 deletions
diff --git a/etc/daily b/etc/daily
index 37e9df5..0640b4b 100644
--- a/etc/daily
+++ b/etc/daily
@@ -85,22 +85,26 @@ 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 /
+# Due to a console sub system bug doing the kill -1 of syslogd
+# will lock up the console. This has been disabled until that
+# is fixed.
+#
+#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 ""
OpenPOWER on IntegriCloud