* Add community package for Freifunk Berlin
This commit is contained in:
parent
0989d06c41
commit
3c33a2ad82
4 changed files with 40 additions and 0 deletions
2
applications/community-berlin/Makefile
Normal file
2
applications/community-berlin/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
include ../../build/config.mk
|
||||||
|
include ../../build/module.mk
|
4
applications/community-berlin/ipkg/postinst
Executable file
4
applications/community-berlin/ipkg/postinst
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -n "${IPKG_INSTROOT}" ] || {
|
||||||
|
( . /etc/uci-defaults/luci-community-berlin ) && rm -f /etc/uci-defaults/luci-community-berlin
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
uci batch <<-EOF
|
||||||
|
set freifunk.community.name='Freifunk Berlin'
|
||||||
|
set freifunk.community.homepage=http://berlin.freifunk.net
|
||||||
|
set freifunk.community.essid=olsr.freifunk.net
|
||||||
|
set freifunk.community.bssid=02:CA:FF:EE:BA:BE
|
||||||
|
set freifunk.community.channel=10
|
||||||
|
set freifunk.community.net=104.0.0.0
|
||||||
|
set freifunk.community.mask=255.0.0.0
|
||||||
|
set freifunk.community.dns='88.198.178.18 141.54.1.1 212.204.49.83 208.67.220.220 208.67.222.222'
|
||||||
|
set luci.main.mediaurlbase=/luci-static/fledermaus
|
||||||
|
set luci.main.lang=de
|
||||||
|
commit freifunk
|
||||||
|
commit luci
|
||||||
|
EOF
|
||||||
|
|
|
@ -253,6 +253,21 @@ define Package/luci-ff-hannover/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
define Package/luci-ff-berlin
|
||||||
|
$(call Package/luci/fftemplate)
|
||||||
|
DEPENDS+= \
|
||||||
|
+luci-sgi-cgi +luci-app-splash +luci-app-olsr \
|
||||||
|
+luci-theme-fledermaus \
|
||||||
|
+luci-i18n-german \
|
||||||
|
+olsrd +olsrd-mod-dyn-gw +olsrd-mod-txtinfo +olsrd-mod-nameservice
|
||||||
|
TITLE:=Freifunk Berlin Community Meta-Package
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/luci-ff-berlin/install
|
||||||
|
$(call Package/luci/install/template,$(1),applications/community-berlin)
|
||||||
|
endef
|
||||||
|
|
||||||
|
|
||||||
### Modules ###
|
### Modules ###
|
||||||
|
|
||||||
define Package/luci-mod-admin-core
|
define Package/luci-mod-admin-core
|
||||||
|
@ -478,6 +493,9 @@ endif
|
||||||
ifneq ($(CONFIG_PACKAGE_luci-ff-hannover),)
|
ifneq ($(CONFIG_PACKAGE_luci-ff-hannover),)
|
||||||
PKG_SELECTED_MODULES+=applications/community-hannover
|
PKG_SELECTED_MODULES+=applications/community-hannover
|
||||||
endif
|
endif
|
||||||
|
ifneq ($(CONFIG_PACKAGE_luci-ff-berlin),)
|
||||||
|
PKG_SELECTED_MODULES+=applications/community-berlin
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_PACKAGE_luci-mod-admin-core),)
|
ifneq ($(CONFIG_PACKAGE_luci-mod-admin-core),)
|
||||||
PKG_SELECTED_MODULES+=modules/admin-core
|
PKG_SELECTED_MODULES+=modules/admin-core
|
||||||
|
|
Loading…
Reference in a new issue