don't run by default, but do run chkconfig --add (#183633)
This commit is contained in:
parent
96905ffb8c
commit
e966dc8d86
@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2005 Red Hat, Inc.
|
# Copyright 2005 Red Hat, Inc.
|
||||||
#
|
#
|
||||||
# chkconfig: 2345 20 80
|
# chkconfig: - 20 80
|
||||||
#
|
#
|
||||||
# Author: Jeff Moyer <jmoyer@redhat.com>
|
# Author: Jeff Moyer <jmoyer@redhat.com>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 1.101
|
Version: 1.101
|
||||||
Release: 15
|
Release: 16
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
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'`
|
KDUMP_COMMANDLINE=`echo $KDUMP_COMMANDLINE | sed -e 's/crashkernel=[0-9]\+M@[0-9]\+M//g'`
|
||||||
export KDUMP_COMMANDLINE
|
export KDUMP_COMMANDLINE
|
||||||
sed -i -e "s|REPLACEME|$KDUMP_COMMANDLINE irqpoll|g" /etc/sysconfig/kdump
|
sed -i -e "s|REPLACEME|$KDUMP_COMMANDLINE irqpoll|g" /etc/sysconfig/kdump
|
||||||
|
/sbin/chkconfig --add kdump
|
||||||
# No longer add kdump service by default, let the user add it manually
|
|
||||||
# to avoid everyone to see a warning.
|
|
||||||
# chkconfig --add kdump
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
|
||||||
@ -99,6 +96,10 @@ exit 0
|
|||||||
%doc TODO
|
%doc TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 08 2006 Bill Nottingham <notting@redhat.com> - 1.101-16
|
||||||
|
- fix scriptlet - call chkconfig --add, change the default in the
|
||||||
|
script itself (#183633)
|
||||||
|
|
||||||
* Wed Mar 08 2006 Thomas Graf <tgraf@redhat.com> - 1.101-15
|
* Wed Mar 08 2006 Thomas Graf <tgraf@redhat.com> - 1.101-15
|
||||||
- Don't add kdump service by default, let the user manually add it to
|
- Don't add kdump service by default, let the user manually add it to
|
||||||
avoid everyone seeing a warning.
|
avoid everyone seeing a warning.
|
||||||
|
Loading…
Reference in New Issue
Block a user