From 5bfebbecea6514037ceef3b832660f70acf8a945 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 11 Feb 2013 09:45:14 -0600 Subject: Rename shutdown_network setting to keep_network We were telling users that setting shutdown_network=YES would shut down the network interfaces during shutdown, but this was exactly the opposite of what we were doing. The default was YES, which was keeping the interfaces active. This keeps the default behavior, but renames the setting to keep_network which more accurately describes its function, and instructs users to set it to NO if they want the network interfaces to go down. --- init.d/net.lo.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d/net.lo.in') diff --git a/init.d/net.lo.in b/init.d/net.lo.in index 10a7cb6..b6773fe 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -712,7 +712,7 @@ stop() # Don't stop the network at shutdown. # We don't use the noshutdown keyword so that we are started again # correctly if we go back to multiuser. - yesno ${shutdown_network:-YES} && yesno $RC_GOINGDOWN && return 0 + yesno ${keep_network:-YES} && yesno $RC_GOINGDOWN && return 0 local IFACE=${RC_SVCNAME#*.} module= local IFVAR=$(shell_var "${IFACE}") opts= -- cgit v1.2.3