From e966dc8d8693bcf166e5f3fae47e1cc3df1d8d9e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 8 Mar 2006 20:39:23 +0000 Subject: [PATCH] don't run by default, but do run chkconfig --add (#183633) --- kdump.init | 2 +- kexec-tools.spec | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/kdump.init b/kdump.init index 87082de..4fea5d9 100644 --- a/kdump.init +++ b/kdump.init @@ -9,7 +9,7 @@ # # Copyright 2005 Red Hat, Inc. # -# chkconfig: 2345 20 80 +# chkconfig: - 20 80 # # Author: Jeff Moyer diff --git a/kexec-tools.spec b/kexec-tools.spec index be6091d..22a65b5 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 1.101 -Release: 15 +Release: 16 License: GPL Group: Applications/System Summary: The kexec/kdump userspace component. @@ -69,10 +69,7 @@ KDUMP_COMMANDLINE=`cat /proc/cmdline` KDUMP_COMMANDLINE=`echo $KDUMP_COMMANDLINE | sed -e 's/crashkernel=[0-9]\+M@[0-9]\+M//g'` export KDUMP_COMMANDLINE sed -i -e "s|REPLACEME|$KDUMP_COMMANDLINE irqpoll|g" /etc/sysconfig/kdump - -# No longer add kdump service by default, let the user add it manually -# to avoid everyone to see a warning. -# chkconfig --add kdump +/sbin/chkconfig --add kdump %postun @@ -99,6 +96,10 @@ exit 0 %doc TODO %changelog +* Wed Mar 08 2006 Bill Nottingham - 1.101-16 +- fix scriptlet - call chkconfig --add, change the default in the + script itself (#183633) + * Wed Mar 08 2006 Thomas Graf - 1.101-15 - Don't add kdump service by default, let the user manually add it to avoid everyone seeing a warning.