contrib/package: rename config for p2pblock to freifunk_p2pblock
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 17:57:17 +0000 (17:57 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 17:57:17 +0000 (17:57 +0000)
contrib/package/freifunk-p2pblock/Makefile
contrib/package/freifunk-p2pblock/files/freifunk-p2pblock.init

index 918d6a95eae179ea7555ecc87b9ee45609945a6e..0da9a32ffa881e49cc097810f12132f48fef0731 100644 (file)
@@ -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))
index 95193aa6291d01b1f8340a2e7ff4aaf66f0d0bce..15cb76d0f0858d4454ded2ca6a15655e89a4052b 100644 (file)
@@ -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