summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-07 17:57:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-07 17:57:17 +0000
commit9594eed525807ad8810ac30481b60a0cebd9a895 (patch)
tree18e4e8364c5bc324f7cb2ac12a526d9b08d5e3be /contrib/package
parentf242ed5aba13e432c16e29b606c2c9a899e5fad2 (diff)
contrib/package: rename config for p2pblock to freifunk_p2pblock
Diffstat (limited to 'contrib/package')
-rw-r--r--contrib/package/freifunk-p2pblock/Makefile2
-rw-r--r--contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/freifunk-p2pblock/Makefile b/contrib/package/freifunk-p2pblock/Makefile
index 918d6a95e..0da9a32ff 100644
--- a/contrib/package/freifunk-p2pblock/Makefile
+++ b/contrib/package/freifunk-p2pblock/Makefile
@@ -40,7 +40,7 @@ define Package/freifunk-p2pblock/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/freifunk-p2pblock.init $(1)/etc/init.d/freifunk-p2pblock
$(INSTALL_DIR) $(1)/etc/config
- $(INSTALL_BIN) ./files/freifunk-p2pblock.config $(1)/etc/config/freifunk-p2pblock
+ $(INSTALL_DATA) ./files/freifunk-p2pblock.config $(1)/etc/config/freifunk_p2pblock
endef
$(eval $(call BuildPackage,freifunk-p2pblock))
diff --git a/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init b/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init
index 95193aa62..15cb76d0f 100644
--- a/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init
+++ b/contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init
@@ -17,7 +17,7 @@ start() {
config_load network
config_get wan wan ifname
- config_load freifunk-p2pblock
+ config_load freifunk_p2pblock
config_get layer7 p2pblock layer7
config_get ipp2p p2pblock ipp2p
config_get portrange p2pblock portrange