
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
13 lines
237 B
Bash
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
|
|
}
|