From e6575a0edc481c17d040457d0c783c96336fe521 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 22 Jun 2007 21:20:57 +0000 Subject: - init.d/halt: don't shut down the network in kexec (#223932, ) --- initscripts.spec | 1 + rc.d/init.d/halt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index ff729995..1b7f9d73 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -201,6 +201,7 @@ rm -rf $RPM_BUILD_ROOT - network-functions: fix logic error in install_bonding_driver (#229643) - add init script for netconsole (#223742) - ifup-eth: set 'primary' later for bonding devices (#236897, ) +- init.d/halt: don't shut down the network in kexec (#223932, ) * Mon Jan 15 2007 Bill Nottingham 8.45.14.EL-1 - set MACADDR, if specified, before bringing up bonding master/slaves (#218792) 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" -- cgit