Merge pull request #278 from nmav/ocserv
[project/luci.git] / applications / luci-coovachilli / luasrc / model / cbi / coovachilli.lua
index 49c4fe5..e97987d 100644 (file)
@@ -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