e97987dd7e12632c8e2ef98e8c1c955ebd6af87e
[project/luci.git] / applications / luci-app-coovachilli / luasrc / model / cbi / coovachilli.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("coovachilli")
18
19 -- general
20 s = m:section(TypedSection, "general")
21 s.anonymous = true
22
23 s:option( Flag, "debug" )
24 s:option( Value, "interval" )
25 s:option( Value, "pidfile" ).optional = true
26 s:option( Value, "statedir" ).optional = true
27 s:option( Value, "cmdsock" ).optional = true
28 s:option( Value, "logfacility" ).optional = true
29
30
31 return m