summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-coovachilli/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-25 10:12:21 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-25 10:12:21 +0000
commit48c261520174e53cf80d8226537785bf92429084 (patch)
tree3b0b94eff862b4ce68221d99f924185d9b066c4c /applications/luci-coovachilli/luasrc/model
parent97f3bc94e7e1a11ef36dd3c50de0b286a05d7c45 (diff)
* luci/app/coovachilli: drop remote configuratio section, complete uci scheme
Diffstat (limited to 'applications/luci-coovachilli/luasrc/model')
-rw-r--r--applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua25
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 49c4fe57da..e97987dd7e 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