Skip to content
Snippets Groups Projects
Commit 1482d148 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt
Browse files

add package that includes the hoods.json file

parent b472c22a
No related branches found
No related tags found
No related merge requests found
include $(TOPDIR)/rules.mk
PKG_NAME:=ffnw-hoods
PKG_VERSION:=1
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=networke
CATEGORY:=Freifunk Nordwest
TITLE:=Hoodjson file
endef
define Package/$(PKG_NAME)/description
Hoodjson file
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/$(PKG_NAME)/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))
[
{
"name": "default",
"bssid": "02:CA:FF:EE:BA:BF",
"defaulthood": true,
"servers": [
{
"host": "srv12.ffnw.de",
"port": "11111",
"publickey": "32a02dd5e6b9233926e178ac609023ad30bcf26954d38d410088bbdc0b2258cb"
},
{
"host": "srv04.ffnw.de",
"port": "11111",
"publickey": "9737c65a17cfaa8339315ee53d2b9e02520733780362efacf9503737f5a23204"
},
{
"host": "srv06.ffnw.de",
"port": "11111",
"publickey": "18199a10620dbd13728a09402ca2364436ca27e46e669a2ebdfe20976dc45e6f"
},
{
"host": "srv11.ffnw.de",
"port": "11111",
"publickey": "5c1738236ba6930f654fd5e815e0c63ac03f81551ee2b183045b256fb133f77d"
},
{
"host": "srv10.ffnw.de",
"port": "11111",
"publickey": "22e270ff9b2d1017c3a0b00dd22a58ef7e5915a355eeb16f0b8b52d7eb377869"
}
],
"boxes": []
}
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment