firewall3: add support for shell script and iptables-restore style includes

SVN-Revision: 35744
This commit is contained in:
Jo-Philipp Wich 2013-02-22 12:45:38 +00:00
parent a7b262dc0a
commit 4fb2cd18c1
2 changed files with 4 additions and 4 deletions

View file

@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=firewall3
PKG_VERSION:=2013-02-21
PKG_VERSION:=2013-02-22
PKG_RELEASE:=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://nbd.name/firewall3.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=fe3ecee341da8542aa25b962dcb8bcc628fcdd1e
PKG_SOURCE_VERSION:=83ff4b94b044086d80b1e189e5601274bd5b4852
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>

View file

@ -4,5 +4,5 @@
fw3 -q network "$INTERFACE" >/dev/null || exit 0
logger -t firewall "Restarting firewall due to ifup of $INTERFACE ($DEVICE)"
fw3 -q restart
logger -t firewall "Reloading firewall due to ifup of $INTERFACE ($DEVICE)"
fw3 -q reload