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" DEFAULT_ACTION="emergency_shell"
;; ;;
reboot) reboot)
DEFAULT_ACTION="reboot -f" DEFAULT_ACTION="/usr/bin/reboot -f"
;; ;;
halt) halt)
DEFAULT_ACTION="halt -f" DEFAULT_ACTION="/usr/bin/halt -f"
;; ;;
poweroff) poweroff)
DEFAULT_ACTION="poweroff -f" DEFAULT_ACTION="/usr/bin/poweroff -f"
;; ;;
esac esac
;; ;;

View File

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