In /etc/init.d/network (part of OpenRC) in the shutdown section there is a line: yesno ${shutdown_network:-YES} && yesno $RC_GOINGDOWN && return 0 So if I want to shutdown the network interfaces during shutdown I have to set shutdown_network=NO in /etc/conf.d/network. Thats not really self-explaining ;) The variable should be named noshutdown_network. Reproducible: Always
We are planning on removing the newnet scripts (/etc/init.d/network and /etc/init.d/staticroute) from openrc, so I recommend that you use the net.* scripts instead.