mkdumprd: use absolute path of reboot/halt/poweroff

This commit is contained in:
Amerigo Wang 2011-07-27 19:48:51 +08:00
parent 75b0166343
commit c445864777
2 changed files with 7 additions and 4 deletions

View File

@ -23,13 +23,13 @@ read_kdump_conf()
DEFAULT_ACTION="emergency_shell"
;;
reboot)
DEFAULT_ACTION="reboot -f"
DEFAULT_ACTION="/usr/bin/reboot -f"
;;
halt)
DEFAULT_ACTION="halt -f"
DEFAULT_ACTION="/usr/bin/halt -f"
;;
poweroff)
DEFAULT_ACTION="poweroff -f"
DEFAULT_ACTION="/usr/bin/poweroff -f"
;;
esac
;;

View File

@ -1,6 +1,6 @@
Name: kexec-tools
Version: 2.0.2
Release: 12%{?dist}
Release: 13%{?dist}
License: GPLv2
Group: Applications/System
Summary: The kexec/kdump userspace component.
@ -281,6 +281,9 @@ done
%changelog
* Wed Jul 27 2011 Cong Wang <xiyou.wangcong@gmail.com> - 2.0.2-13
- Use absolute path of reboot/halt/poweroff.
* Wed Jul 27 2011 Cong Wang <xiyou.wangcong@gmail.com> - 2.0.2-12
- Don't use consolehelper, use real reboot/halt/poweroff.