summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-p2pblock
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-12-07 13:13:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-12-07 13:13:43 +0000
commitb8a1d4f0492cbc0cc0c4af4a811cfd4230862d49 (patch)
tree5d846df5a6b631856fec642f07c7fcd21d795ff8 /contrib/package/freifunk-p2pblock
parentfb9d3ce2b671a051adaa188de016d8ead19e1385 (diff)
contrib/package/freifunk-p2pblock: actually read whitelist from config
Diffstat (limited to 'contrib/package/freifunk-p2pblock')
-rw-r--r--contrib/package/freifunk-p2pblock/Makefile3
-rw-r--r--contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init1
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/package/freifunk-p2pblock/Makefile b/contrib/package/freifunk-p2pblock/Makefile
index 2dbe1fa7c..6bf3a9610 100644
--- a/contrib/package/freifunk-p2pblock/Makefile
+++ b/contrib/package/freifunk-p2pblock/Makefile
@@ -1,5 +1,6 @@
#
# Copyright (C) 2009 Andreas Seidler <tetzlav@subsignal.org>
+# Copyright (C) 2012 Jo-Philipp Wich <xm@subsignal.org>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,7 +9,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=freifunk-p2pblock
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
diff --git a/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init b/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init
index aa8b1c8bc..5ca60c891 100644
--- a/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init
+++ b/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init
@@ -26,6 +26,7 @@ start() {
config_get ipp2p p2pblock ipp2p
config_get portrange p2pblock portrange
config_get blocktime p2pblock blocktime
+ config_get whitelist p2pblock whitelist
# load modules
insmod ipt_ipp2p 2>&-