Hello community, here is the log from the commit of package kexec-tools checked in at Sun Jul 8 22:31:12 CEST 2007. -------- --- kexec-tools/kexec-tools.changes 2007-07-03 00:18:04.000000000 +0200 +++ /mounts/work_src_done/STABLE/kexec-tools/kexec-tools.changes 2007-07-06 18:24:50.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Jul 6 18:24:12 CEST 2007 - tiwai@suse.de + +- implement a simple status command for kdump init script + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kexec-tools.spec ++++++ --- /var/tmp/diff_new_pack.Mc8448/_old 2007-07-08 22:30:44.000000000 +0200 +++ /var/tmp/diff_new_pack.Mc8448/_new 2007-07-08 22:30:44.000000000 +0200 @@ -18,7 +18,7 @@ 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 @@ /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) ++++++ kdump ++++++ --- kexec-tools/kdump 2007-06-21 16:29:35.000000000 +0200 +++ /mounts/work_src_done/STABLE/kexec-tools/kdump 2007-07-06 17:07:50.000000000 +0200 @@ -259,7 +259,15 @@ 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org