From 48c261520174e53cf80d8226537785bf92429084 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 25 Sep 2008 10:12:21 +0000 Subject: * luci/app/coovachilli: drop remote configuratio section, complete uci scheme --- .../luasrc/model/cbi/coovachilli.lua | 25 ++++++++-------------- 1 file changed, 9 insertions(+), 16 deletions(-) (limited to 'applications/luci-coovachilli/luasrc/model') 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 -- cgit v1.2.3