projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e34dc635a6bc635bcd660b066b878acb786f5c49
[openwrt.git]
/
package
/
network
/
config
/
firewall
/
files
/
firewall.hotplug
1
#!/bin/sh
2
3
[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0
4
5
/etc/init.d/firewall enabled || exit 0
6
7
fw3 -q network "$INTERFACE" >/dev/null || exit 0
8
9
logger -t firewall "Reloading firewall due to $ACTION of $INTERFACE ($DEVICE)"
10
fw3 -q reload