projects
/
12.09
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
34f3afec9b5466e4fa75cdc7cd71c01ad53e0d5d
[12.09/openwrt.git]
/
package
/
firewall3
/
files
/
firewall.hotplug
1
#!/bin/sh
2
3
[ "$ACTION" = ifup ] || 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 ifup of $INTERFACE ($DEVICE)"
10
fw3 -q reload