projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
firewall3 - a C implementation of the current firewall scripts
[openwrt.git]
/
package
/
network
/
config
/
firewall3
/
files
/
firewall.hotplug
1
#!/bin/sh
2
3
[ "$ACTION" = ifup ] || exit 0
4
5
fw3 -q network "$INTERFACE" >/dev/null || exit 0
6
7
logger -t firewall "Restarting firewall due to ifup of $INTERFACE ($DEVICE)"
8
fw3 -q restart