forked from Ivasoft/openwrt
firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA
SVN-Revision: 36838
This commit is contained in:
10
package/network/config/firewall/files/firewall.hotplug
Normal file
10
package/network/config/firewall/files/firewall.hotplug
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ "$ACTION" = ifup ] || exit 0
|
||||
|
||||
/etc/init.d/firewall enabled || exit 0
|
||||
|
||||
fw3 -q network "$INTERFACE" >/dev/null || exit 0
|
||||
|
||||
logger -t firewall "Reloading firewall due to ifup of $INTERFACE ($DEVICE)"
|
||||
fw3 -q reload
|
||||
Reference in New Issue
Block a user