[PATCH] Disable some useless cron jobs
Bernie Innocenti
bernie at codewiz.org
Thu Aug 19 23:36:09 EDT 2010
Signed-off-by: Bernie Innocenti <bernie at codewiz.org>
---
modules/base/kspost.10.core.inc | 8 ++++++++
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
--
1.7.2.1
More information about the Devel
mailing list