diff options
4 files changed, 36 insertions, 1 deletions
diff --git a/applications/community-hannover/Makefile b/applications/community-hannover/Makefile new file mode 100644 index 0000000000..81a96f6a83 --- /dev/null +++ b/applications/community-hannover/Makefile @@ -0,0 +1,2 @@ +include ../../build/config.mk +include ../../build/module.mk
\ No newline at end of file diff --git a/applications/community-hannover/root/etc/uci-defaults/ffluci-community-hannover b/applications/community-hannover/root/etc/uci-defaults/ffluci-community-hannover new file mode 100644 index 0000000000..97b7cefd3a --- /dev/null +++ b/applications/community-hannover/root/etc/uci-defaults/ffluci-community-hannover @@ -0,0 +1,13 @@ +#!/bin/sh +uci batch <<-EOF + set freifunk.community.name='Freifunk Hannover' + set freifunk.community.homepage=http://www.freifunk-hannover.de + set freifunk.community.essid=hannover.freifunk.net + set freifunk.community.bssid=CA:FF:EE:CA:FF:EE + set freifunk.community.realm=db.freifunk-hannover.de + set freifunk.community.channel=1 + set freifunk.community.net=10.2.0.0 + set freifunk.community.mask=255.255.0.0 + commit freifunk +EOF + diff --git a/contrib/package/ffluci/Makefile b/contrib/package/ffluci/Makefile index 2ce1b8fef6..ca75402611 100644 --- a/contrib/package/ffluci/Makefile +++ b/contrib/package/ffluci/Makefile @@ -91,6 +91,21 @@ define Package/ffluci-ff-leipzig/install endef +define Package/ffluci-ff-hannover + $(call Package/ffluci/template) + DEPENDS:=ffluci \ + +ffluci-sgi-haserl +ffluci-mod-freifunk +ffluci-app-splash \ + +olsrd +olsrd-mod-dyn-gw +olsrd-mod-txtinfo +olsrd-mod-nameservice + TITLE:=Freifunk Hannover Community Meta-Package + URL:=http://www.freifunk-hannover.de/ + MAINTAINER:=Mickey Knox <mickey-at-netfreaks-dot-org> +endef + +define Package/ffluci-ff-hannover/install + $(call Package/ffluci/install/template,$(1),applications/community-hannover) + $(CP) -a ./ipkg/ffluci-ff-hannover.postinst $(1)/CONTROL/postinst +endef + ### Modules ### @@ -191,6 +206,7 @@ $(eval $(call BuildPackage,ffluci)) $(eval $(call BuildPackage,ffluci-ff-halle)) $(eval $(call BuildPackage,ffluci-ff-leipzig)) +$(eval $(call BuildPackage,ffluci-ff-hannover)) $(eval $(call BuildPackage,ffluci-mod-admin-core)) $(eval $(call BuildPackage,ffluci-mod-freifunk)) @@ -199,4 +215,4 @@ $(eval $(call BuildPackage,ffluci-app-firewall)) $(eval $(call BuildPackage,ffluci-app-splash)) $(eval $(call BuildPackage,ffluci-sgi-haserl)) -$(eval $(call BuildPackage,ffluci-sgi-webuci))
\ No newline at end of file +$(eval $(call BuildPackage,ffluci-sgi-webuci)) diff --git a/contrib/package/ffluci/ipkg/ffluci-ff-hannover.postinst b/contrib/package/ffluci/ipkg/ffluci-ff-hannover.postinst new file mode 100644 index 0000000000..5c213adc48 --- /dev/null +++ b/contrib/package/ffluci/ipkg/ffluci-ff-hannover.postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/ffluci-community-hannover ) && rm -f /etc/uci-defaults/ffluci-community-hannover +} |