From f1f1d0c5359b9f8fe49a57f7e176938c88e9fe62 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 23 Feb 2007 14:45:57 +0000 Subject: use kexec -x to not shut down network (#223932, ) --- 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 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 v1.2.1