summaryrefslogtreecommitdiffhomepage
path: root/core/contrib/uci
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-04-16 09:32:43 +0000
committerSteven Barth <steven@midlink.org>2008-04-16 09:32:43 +0000
commit69bc3fad1f0a49427a06cec47fe6a2b8b07969b8 (patch)
tree02e3130eb46aa7bc171638455b7bb62132e7ccd5 /core/contrib/uci
parent5ae7b3ee9a6928238f4cd424701b9e969dd68ee8 (diff)
* Reintroduced public pages
* Automatically replace nil template values with ''
Diffstat (limited to 'core/contrib/uci')
-rw-r--r--core/contrib/uci/freifunk16
-rw-r--r--core/contrib/uci/luci21
2 files changed, 22 insertions, 15 deletions
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"