diff options
Diffstat (limited to 'applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua')
-rw-r--r-- | applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua index 49c4fe57d..e97987dd7 100644 --- a/applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua +++ b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua @@ -17,22 +17,15 @@ $Id$ m = Map("coovachilli") -- general -s1 = m:section(TypedSection, "general") -s1.anonymous = true - -s1:option( Flag, "debug" ) -s1:option( Value, "interval" ) -s1:option( Value, "pidfile" ).optional = true -s1:option( Value, "statedir" ).optional = true -s1:option( Value, "cmdsock" ).optional = true -s1:option( Value, "logfacility" ).optional = true - --- remote config management -s2 = m:section(TypedSection, "remoteconfig") -s2.anonymous = true - -s2:option( Value, "confusername" ) -s2:option( Value, "confpassword" ) +s = m:section(TypedSection, "general") +s.anonymous = true + +s:option( Flag, "debug" ) +s:option( Value, "interval" ) +s:option( Value, "pidfile" ).optional = true +s:option( Value, "statedir" ).optional = true +s:option( Value, "cmdsock" ).optional = true +s:option( Value, "logfacility" ).optional = true return m |