diff options
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/net.lo.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in index fbc0124b..10a7cb61 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -709,6 +709,11 @@ ${routes}" 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 + local IFACE=${RC_SVCNAME#*.} module= local IFVAR=$(shell_var "${IFACE}") opts= |