2 LuCI - Lua Configuration Interface
4 Copyright 2008 Steven Barth <steven@midlink.org>
5 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
11 http://www.apache.org/licenses/LICENSE-2.0
20 s1 = m:section(TypedSection, "general")
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
30 -- remote config management
31 s2 = m:section(TypedSection, "remoteconfig")
34 s2:option( Value, "confusername" )
35 s2:option( Value, "confpassword" )