* Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
[project/luci.git] / modules / freifunk / luasrc / model / cbi / freifunk / freifunk.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13 ]]--
14 m = Map("freifunk", "Freifunk")
15
16 c = m:section(NamedSection, "community", "public", "Gemeinschaft", [[Dies sind die Grundeinstellungen
17 für die lokale Freifunkgemeinschaft. Diese Werte wirken sich NICHT auf die Konfiguration
18 des Routers aus, sondern definieren nur die Vorgaben für den Freifunkassistenten.]])
19 c:option(Value, "name", "Gemeinschaft")
20 c:option(Value, "homepage", "Webseite")
21 c:option(Value, "essid", "ESSID")
22 c:option(Value, "bssid", "BSSID")
23 c:option(Value, "channel", "Funkkanal")
24 c:option(Value, "realm", "Realm")
25 c:option(Value, "net", "Adressbereich")
26 c:option(Value, "mask", "Netzmaske")
27 c:option(Value, "dns", "DNS-Server")
28 c:option(Value, "dhcp", "DHCP-Bereich")
29 c:option(Value, "dhcpmask", "DHCP-Maske")
30
31 return m