diff options
author | Andreas Seidler <tetzlav@leipzig.freifunk.net> | 2008-07-07 17:47:32 +0000 |
---|---|---|
committer | Andreas Seidler <tetzlav@leipzig.freifunk.net> | 2008-07-07 17:47:32 +0000 |
commit | 3c33a2ad820f24e62da217c58e7fec3a3976b5f4 (patch) | |
tree | 461c516a61255f83b5b0aad9d3bae0526b107daf /applications/community-berlin | |
parent | 0989d06c4104523aeb97180ac749f7eacb82db01 (diff) |
* Add community package for Freifunk Berlin
Diffstat (limited to 'applications/community-berlin')
-rw-r--r-- | applications/community-berlin/Makefile | 2 | ||||
-rwxr-xr-x | applications/community-berlin/ipkg/postinst | 4 | ||||
-rw-r--r-- | applications/community-berlin/root/etc/uci-defaults/luci-community-berlin | 16 |
3 files changed, 22 insertions, 0 deletions
diff --git a/applications/community-berlin/Makefile b/applications/community-berlin/Makefile new file mode 100644 index 000000000..81a96f6a8 --- /dev/null +++ b/applications/community-berlin/Makefile @@ -0,0 +1,2 @@ +include ../../build/config.mk +include ../../build/module.mk
\ No newline at end of file diff --git a/applications/community-berlin/ipkg/postinst b/applications/community-berlin/ipkg/postinst new file mode 100755 index 000000000..ad5e96c3e --- /dev/null +++ b/applications/community-berlin/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-community-berlin ) && rm -f /etc/uci-defaults/luci-community-berlin +} diff --git a/applications/community-berlin/root/etc/uci-defaults/luci-community-berlin b/applications/community-berlin/root/etc/uci-defaults/luci-community-berlin new file mode 100644 index 000000000..348b0c8e9 --- /dev/null +++ b/applications/community-berlin/root/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 + |