From aa8cd70238da8c40db7566e0916aa246bd37abc1 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 29 Aug 2007 17:09:45 +0000 Subject: backport kexec fix --- rc.d/init.d/halt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.1