From 9548b528b66fdc0c30ca0576945bcff9f568388a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 12 Jul 2008 22:05:04 +0000 Subject: * luci: added community package for Freifunk Augsburg --- applications/community-augsburg/Makefile | 2 ++ applications/community-augsburg/ipkg/postinst | 4 ++++ .../root/etc/uci-defaults/luci-community-augsburg | 16 ++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 applications/community-augsburg/Makefile create mode 100644 applications/community-augsburg/ipkg/postinst create mode 100644 applications/community-augsburg/root/etc/uci-defaults/luci-community-augsburg (limited to 'applications/community-augsburg') diff --git a/applications/community-augsburg/Makefile b/applications/community-augsburg/Makefile new file mode 100644 index 0000000000..81a96f6a83 --- /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 0000000000..b99b7c17c1 --- /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 0000000000..b1efd46de4 --- /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 + -- cgit v1.2.3