aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/halt
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-06-22 21:20:57 +0000
committerBill Nottingham <notting@redhat.com>2007-06-22 21:20:57 +0000
commite6575a0edc481c17d040457d0c783c96336fe521 (patch)
treec6cfcb35f37854b224f1a7fb301103b1e48f12f9 /rc.d/init.d/halt
parent8f063811fd3e9feb74435f3f97e5ae7c4b5a6fa8 (diff)
downloadinitscripts-e6575a0edc481c17d040457d0c783c96336fe521.tar
initscripts-e6575a0edc481c17d040457d0c783c96336fe521.tar.gz
initscripts-e6575a0edc481c17d040457d0c783c96336fe521.tar.bz2
initscripts-e6575a0edc481c17d040457d0c783c96336fe521.tar.xz
initscripts-e6575a0edc481c17d040457d0c783c96336fe521.zip
- init.d/halt: don't shut down the network in kexec (#223932, <mchristi@redhat.com>)r8-45-16-EL
Diffstat (limited to 'rc.d/init.d/halt')
-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 8fd5d268..2e5d8150 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"