aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-08-29 17:09:45 +0000
committerBill Nottingham <notting@redhat.com>2007-08-29 17:09:45 +0000
commitaa8cd70238da8c40db7566e0916aa246bd37abc1 (patch)
tree98bb3ddac96c3b2dbd9cb1731ed7e9c433fe60fa /rc.d/init.d
parentbe95f5c7156e838d84738cf9679d93b2de9d92c8 (diff)
downloadinitscripts-FC6-branch.tar
initscripts-FC6-branch.tar.gz
initscripts-FC6-branch.tar.bz2
initscripts-FC6-branch.tar.xz
initscripts-FC6-branch.zip
backport kexec fixFC6-branch
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/halt2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 26ecdcb8..f80f2309 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -214,7 +214,7 @@ if [ "$command" = /sbin/halt -a -r /etc/ups/upsmon.conf -a -f /etc/killpower -a
fi
# First, try kexec. If that fails, fall back to rebooting the old way.
-[ -n "$kexec_command" ] && $kexec_command -e >& /dev/null
+[ -n "$kexec_command" ] && $kexec_command -e -x >& /dev/null
HALTARGS="-d"
[ -f /poweroff -o ! -f /halt ] && HALTARGS="$HALTARGS -p"