summaryrefslogtreecommitdiffhomepage
path: root/applications/freifunk-community
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-15 16:52:58 +0000
committerSteven Barth <steven@midlink.org>2008-09-15 16:52:58 +0000
commitdbd1d3c273a5c4cf47244ae8db7c25f1852aeb5e (patch)
tree438913cba2d302f2ab9691ee036ad03964c7201a /applications/freifunk-community
parentdc33ed7b570144f5269151e5df218a7a3a37b52a (diff)
Reorganised Freifunk pages
Unified Community configuration
Diffstat (limited to 'applications/freifunk-community')
-rw-r--r--applications/freifunk-community/Makefile2
-rwxr-xr-xapplications/freifunk-community/ipkg/postinst4
-rw-r--r--applications/freifunk-community/root/etc/uci-defaults/luci-freifunk-community7
3 files changed, 13 insertions, 0 deletions
diff --git a/applications/freifunk-community/Makefile b/applications/freifunk-community/Makefile
new file mode 100644
index 000000000..81a96f6a8
--- /dev/null
+++ b/applications/freifunk-community/Makefile
@@ -0,0 +1,2 @@
+include ../../build/config.mk
+include ../../build/module.mk \ No newline at end of file
diff --git a/applications/freifunk-community/ipkg/postinst b/applications/freifunk-community/ipkg/postinst
new file mode 100755
index 000000000..c16bc3af4
--- /dev/null
+++ b/applications/freifunk-community/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-freifunk-community ) && rm -f /etc/uci-defaults/luci-freifunk-community
+}
diff --git a/applications/freifunk-community/root/etc/uci-defaults/luci-freifunk-community b/applications/freifunk-community/root/etc/uci-defaults/luci-freifunk-community
new file mode 100644
index 000000000..d6d40f028
--- /dev/null
+++ b/applications/freifunk-community/root/etc/uci-defaults/luci-freifunk-community
@@ -0,0 +1,7 @@
+#!/bin/sh
+uci batch <<-EOF
+ set luci.main.mediaurlbase=/luci-static/fledermaus
+ set luci.main.lang=de
+ commit luci
+EOF
+