Files
Felix Fietkau 5d745b7d44 Add shorewall6-lite
Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>

SVN-Revision: 18735
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
}