forked from pool/kexec-tools
This commit is contained in:
parent
bdddc6909b
commit
4a6b3379fb
10
kdump
10
kdump
@ -259,7 +259,15 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
status)
|
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)
|
restart|reload)
|
||||||
$0 stop
|
$0 stop
|
||||||
|
@ -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
|
Tue Jul 3 00:00:18 CEST 2007 - bwalle@suse.de
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ Requires: %insserv_prereq %fillup_prereq
|
|||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Summary: Tools for fast kernel loading
|
Summary: Tools for fast kernel loading
|
||||||
Version: 1.101
|
Version: 1.101
|
||||||
Release: 114
|
Release: 115
|
||||||
Source: %{name}-%{package_version}.tar.bz2
|
Source: %{name}-%{package_version}.tar.bz2
|
||||||
Source1: kdump
|
Source1: kdump
|
||||||
Source2: sysconfig.kdump
|
Source2: sysconfig.kdump
|
||||||
@ -132,6 +132,8 @@ true # ignore errors
|
|||||||
/var/adm/fillup-templates/sysconfig.kdump
|
/var/adm/fillup-templates/sysconfig.kdump
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 06 2007 - tiwai@suse.de
|
||||||
|
- implement a simple status command for kdump init script
|
||||||
* Tue Jul 03 2007 - bwalle@suse.de
|
* Tue Jul 03 2007 - bwalle@suse.de
|
||||||
- removed 'machvec=dig' workaround from the documentation since
|
- removed 'machvec=dig' workaround from the documentation since
|
||||||
this has been fixed in the kernel (#271158)
|
this has been fixed in the kernel (#271158)
|
||||||
|
Loading…
Reference in New Issue
Block a user