summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-12 22:05:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-12 22:05:04 +0000
commit9548b528b66fdc0c30ca0576945bcff9f568388a (patch)
tree912c52ddebd7214220ea48987f480dc222150707 /applications
parentdfe0287c6fbab70c359f97c4b9d72a53bc5ff0e2 (diff)
* luci: added community package for Freifunk Augsburg
Diffstat (limited to 'applications')
-rw-r--r--applications/community-augsburg/Makefile2
-rw-r--r--applications/community-augsburg/ipkg/postinst4
-rw-r--r--applications/community-augsburg/root/etc/uci-defaults/luci-community-augsburg16
3 files changed, 22 insertions, 0 deletions
diff --git a/applications/community-augsburg/Makefile b/applications/community-augsburg/Makefile
new file mode 100644
index 000000000..81a96f6a8
--- /dev/null
+++ b/applications/community-augsburg/Makefile
@@ -0,0 +1,2 @@
+include ../../build/config.mk
+include ../../build/module.mk \ No newline at end of file
diff --git a/applications/community-augsburg/ipkg/postinst b/applications/community-augsburg/ipkg/postinst
new file mode 100644
index 000000000..b99b7c17c
--- /dev/null
+++ b/applications/community-augsburg/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-community-augsburg ) && rm -f /etc/uci-defaults/luci-community-augsburg
+}
diff --git a/applications/community-augsburg/root/etc/uci-defaults/luci-community-augsburg b/applications/community-augsburg/root/etc/uci-defaults/luci-community-augsburg
new file mode 100644
index 000000000..b1efd46de
--- /dev/null
+++ b/applications/community-augsburg/root/etc/uci-defaults/luci-community-augsburg
@@ -0,0 +1,16 @@
+#!/bin/sh
+uci batch <<-EOF
+ set freifunk.community.name='Freifunk Augsburg'
+ set freifunk.community.homepage=http://augsburg.freifunk.net
+ set freifunk.community.essid=augsburg.freifunk.net
+ set freifunk.community.bssid=02:CA:FF:EE:BA:BE
+ set freifunk.community.channel=1
+ set freifunk.community.net=191.161.0.0
+ set freifunk.community.mask=255.255.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
+