nbd c311bf8c4a Add shorewall6-lite
Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 02:09:15 +00:00

13 lines
237 B
Bash

#!/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
}