Add shorewall6-lite
[openwrt/svn-archive/archive.git] / ipv6 / shorewall6-lite / files / hotplug_iface
1 #!/bin/sh
2
3 # should restart shorewall when an interface comes up
4
5 [ ifup = "$ACTION" ] && {
6 /etc/init.d/shorewall6-lite restart
7 }
8
9 [ ifdown = "$ACTION" ] && {
10 # might need to restore some routing
11 /etc/init.d/shorewall6-lite restart
12 }