* luci/app/chillispot: rename to coovachilli
[project/luci.git] / applications / luci-coovachilli / luasrc / model / cbi / chillispot.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
6
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 $Id$
14 ]]--
15
16
17 m = Map("chillispot")
18
19 -- general
20 s1 = m:section(TypedSection, "general")
21 s1.anonymous = true
22
23 s1:option( Flag, "debug" )
24 s1:option( Value, "interval" )
25 s1:option( Value, "pidfile" ).optional = true
26 s1:option( Value, "statedir" ).optional = true
27 s1:option( Value, "cmdsock" ).optional = true
28 s1:option( Value, "logfacility" ).optional = true
29
30 -- remote config management
31 s2 = m:section(TypedSection, "remoteconfig")
32 s2.anonymous = true
33
34 s2:option( Value, "confusername" )
35 s2:option( Value, "confpassword" )
36
37
38 return m