aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-02-23 14:45:57 +0000
committerBill Nottingham <notting@redhat.com>2007-02-23 14:45:57 +0000
commitf1f1d0c5359b9f8fe49a57f7e176938c88e9fe62 (patch)
tree20fc1cc2a9f775e5901091972c16dbb66fcd1fe0 /rc.d/init.d
parent63eebffa8308cee9ae5515abb733345ee8c9844e (diff)
downloadinitscripts-f1f1d0c5359b9f8fe49a57f7e176938c88e9fe62.tar
initscripts-f1f1d0c5359b9f8fe49a57f7e176938c88e9fe62.tar.gz
initscripts-f1f1d0c5359b9f8fe49a57f7e176938c88e9fe62.tar.bz2
initscripts-f1f1d0c5359b9f8fe49a57f7e176938c88e9fe62.tar.xz
initscripts-f1f1d0c5359b9f8fe49a57f7e176938c88e9fe62.zip
use kexec -x to not shut down network (#223932, <mchristi@redhat.com>)
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 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"