Shorewall: start and enable interfaces all in hotplug
authorBrian J. Murrell <brian@interlinx.bc.ca>
Fri, 1 Mar 2019 11:27:44 +0000 (06:27 -0500)
committerBrian J. Murrell <brian@interlinx.bc.ca>
Sun, 17 Mar 2019 03:43:29 +0000 (23:43 -0400)
commitc4b18c8e96e2a41196610600735d3cda7fbc44a0
treebef54e21daa9ccbfef2a9c05a25d1744211541bf
parent1acacbbf6cf49c65cb6f52719ed19509fa151054
Shorewall: start and enable interfaces all in hotplug

Using shorewall-lite {en|dis}able instead of completely restarting
Shorewall is much more efficient.

But it also makes sense to move the starting of Shorewall from init
to an interface hotplug event.  The "lan" interface should be a good
indicator that networking it ready.  Besides, Shorewall won't start
until br-lan is available.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
net/shorewall-lite/files/hotplug_iface
net/shorewall/files/hotplug_iface
net/shorewall6-lite/files/hotplug_iface
net/shorewall6/files/hotplug_iface