OBS User unknown 2007-07-08 20:31:13 +00:00 committed by Git OBS Bridge
parent bdddc6909b
commit 4a6b3379fb
3 changed files with 17 additions and 2 deletions

10
kdump
View File

@ -259,7 +259,15 @@ case "$1" in
fi
;;
status)
echo "not implemented"
if [ -r /sys/kernel/kexec_crash_loaded ]; then
if [ "$(cat /sys/kernel/kexec_crash_loaded)" = "1" ]; then
echo "kdump kernel loaded"
else
echo "kdump kernel not loaded"
fi
else
echo "not implemented"
fi
;;
restart|reload)
$0 stop

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 6 18:24:12 CEST 2007 - tiwai@suse.de
- implement a simple status command for kdump init script
-------------------------------------------------------------------
Tue Jul 3 00:00:18 CEST 2007 - bwalle@suse.de

View File

@ -18,7 +18,7 @@ Requires: %insserv_prereq %fillup_prereq
Autoreqprov: on
Summary: Tools for fast kernel loading
Version: 1.101
Release: 114
Release: 115
Source: %{name}-%{package_version}.tar.bz2
Source1: kdump
Source2: sysconfig.kdump
@ -132,6 +132,8 @@ true # ignore errors
/var/adm/fillup-templates/sysconfig.kdump
%changelog
* Fri Jul 06 2007 - tiwai@suse.de
- implement a simple status command for kdump init script
* Tue Jul 03 2007 - bwalle@suse.de
- removed 'machvec=dig' workaround from the documentation since
this has been fixed in the kernel (#271158)