contrib/package/freifunk-p2pblock: actually read whitelist from config

This commit is contained in:
Jo-Philipp Wich 2012-12-07 13:13:43 +00:00
parent fb9d3ce2b6
commit b8a1d4f049
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,6 @@
# #
# Copyright (C) 2009 Andreas Seidler <tetzlav@subsignal.org> # 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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -8,7 +9,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=freifunk-p2pblock PKG_NAME:=freifunk-p2pblock
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

View file

@ -26,6 +26,7 @@ start() {
config_get ipp2p p2pblock ipp2p config_get ipp2p p2pblock ipp2p
config_get portrange p2pblock portrange config_get portrange p2pblock portrange
config_get blocktime p2pblock blocktime config_get blocktime p2pblock blocktime
config_get whitelist p2pblock whitelist
# load modules # load modules
insmod ipt_ipp2p 2>&- insmod ipt_ipp2p 2>&-