From dbd1d3c273a5c4cf47244ae8db7c25f1852aeb5e Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 15 Sep 2008 16:52:58 +0000 Subject: Reorganised Freifunk pages Unified Community configuration --- applications/freifunk-community/Makefile | 2 ++ applications/freifunk-community/ipkg/postinst | 4 ++++ .../root/etc/uci-defaults/luci-freifunk-community | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 applications/freifunk-community/Makefile create mode 100755 applications/freifunk-community/ipkg/postinst create mode 100644 applications/freifunk-community/root/etc/uci-defaults/luci-freifunk-community (limited to 'applications/freifunk-community') 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 + -- cgit v1.2.3