From 61dae498735094534005c147d1efa6ae231fbd6f Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Jul 05 2007 16:46:27 +0000 Subject: Resolves: bz 246967 --- diff --git a/kdump.init b/kdump.init index 451a916..bd99d03 100644 --- a/kdump.init +++ b/kdump.init @@ -1,12 +1,13 @@ #! /bin/sh - -# -# kdump -# -# Description: The kdump init script provides the support necessary for -# loading a kdump kernel into memory at system bootup time, -# and for copying away a vmcore at system panic time. -# +### BEGIN INIT INFO +# Provides: kdump +# Default-Start: 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: start and stop kdump crash recovery service +# Description: The kdump init script provides the support necessary for +# loading a kdump kernel into memory at system bootup time, +# and for copying away a vmcore at system panic time. +### END INIT INFO # Copyright 2005 Red Hat, Inc. # # chkconfig: - 20 80 @@ -316,10 +317,12 @@ function stop() $LOGGER "kexec: unloaded kdump kernel" echo -n "Stopping kdump:"; success; echo $LOGGER "stopped" + return 0 else $LOGGER "kexec: failed to unload kdump kernel" echo -n "Stopping kdump:"; failure; echo $LOGGER "failed to stop" + return 1 fi } diff --git a/kexec-tools.spec b/kexec-tools.spec index 555ce0f..499279c 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 1.101 -Release: 71%{?dist} +Release: 72%{?dist} License: GPL Group: Applications/System Summary: The kexec/kdump userspace component. @@ -251,6 +251,9 @@ rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py %doc kexec-kdump-howto.txt %changelog +* Thu Jul 05 2007 Neil Horman - 1.101-72%{dist} +- Fixing up initscript for LSB (bz 246967) + * Tue Jun 19 2007 Neil Horman - 1.101-71%{dist} - Fixed conflict in mkdumprd in use of /mnt (bz 222911)