mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
firewall3: add support for shell script and iptables-restore style includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35744 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user