From 69bc3fad1f0a49427a06cec47fe6a2b8b07969b8 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 16 Apr 2008 09:32:43 +0000 Subject: * Reintroduced public pages * Automatically replace nil template values with '' --- core/contrib/uci/freifunk | 16 ++++++++++++++++ core/contrib/uci/luci | 21 ++++++--------------- 2 files changed, 22 insertions(+), 15 deletions(-) create mode 100644 core/contrib/uci/freifunk (limited to 'core/contrib/uci') diff --git a/core/contrib/uci/freifunk b/core/contrib/uci/freifunk new file mode 100644 index 0000000000..128267d045 --- /dev/null +++ b/core/contrib/uci/freifunk @@ -0,0 +1,16 @@ +config public contact + option nickname + option name + option mail + option phone + option location + option geo + option note + +config public community + option name "Freifunk Halle" + option homepage http://halle.freifunk.net + option essid halle.freifunk.net + option bssid 02:CA:FF:EE:BA:BE + option realm netz.freifunk-halle.net + option pool 104.62.0.0/16 \ No newline at end of file diff --git a/core/contrib/uci/luci b/core/contrib/uci/luci index e54d747174..7cc08215af 100644 --- a/core/contrib/uci/luci +++ b/core/contrib/uci/luci @@ -6,22 +6,13 @@ config core category_privileges option public nobody:nogroup config extern flash_keep - option uci "/etc/config" + option uci "/etc/config" option dropbear "/etc/dropbear" - option openvpn "/etc/openvpn" - option passwd "/etc/passwd" - option ipkg "/etc/ipkg.conf" - option httpd "/etc/httpd.conf" - option firewall "/etc/firewall.user" - -config public contact - option nickname - option name - option mail - option phone - option location - option geo - option note + option openvpn "/etc/openvpn" + option passwd "/etc/passwd" + option ipkg "/etc/ipkg.conf" + option httpd "/etc/httpd.conf" + option firewall "/etc/firewall.user" config event uci_oncommit option network "/etc/init.d/network restart" -- cgit v1.2.3