Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-08-19 19:22:53 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-08-19 19:22:53 (GMT)
commitdd744c80e5ee02bdd1b8d62805d65a6e0d70a1a1 (patch)
tree12afad470fcc11e9942f27885903ef3f3f3c28fc /modules
parent03fb838f49f5f8db38408e1fb2ddaa7d025d03f9 (diff)
Disable some useless cron jobs
Diffstat (limited to 'modules')
-rw-r--r--modules/base/kspost.10.core.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc
index 431ca3a..d7cf96b 100644
--- a/modules/base/kspost.10.core.inc
+++ b/modules/base/kspost.10.core.inc
@@ -165,3 +165,11 @@ sed -i -e 's%\t\tdo_dsa%#\t\tdo_dsa%g' \
# disable sshd, saves memory and speeds up startup time
/sbin/chkconfig sshd off
+
+# disable mdadm's cron job (sl#2185), plus a few more useless cron jobs
+rm -f /etc/cron.weekly/99-raid-check
+rm -f /etc/cron.daily/logrotate
+rm -f /etc/cron.daily/makewhatis.cron
+rm -f /etc/cron.daily/prelink
+rm -f /etc/cron.daily/rpm
+rm -f /etc/cron.daily/tmpwatch