Merge pull request #4446 from aTanW/master
[feed/packages.git] / net / shorewall-lite / files / hotplug_iface
1 #!/bin/sh
2
3 # should restart shorewall-lite when an interface comes up
4
5 [ ifup = "$ACTION" ] && {
6 /etc/init.d/shorewall-lite restart
7 }
8
9 [ ifdown = "$ACTION" ] && {
10 # might need to restore some routing
11 /etc/init.d/shorewall-lite restart
12 }