summaryrefslogtreecommitdiffstats
path: root/ipv6/shorewall6-lite/files/hotplug_iface
blob: 58ecbf9c2b0bc06c8cbf67f8d5674d376e111b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# should restart shorewall when an interface comes up

[ ifup = "$ACTION" ] && {
	/etc/init.d/shorewall6-lite restart
}

[ ifdown = "$ACTION" ] && {
	# might need to restore some routing
	/etc/init.d/shorewall6-lite restart
}