From 37ea7567aafb6c3acf9ded8253116543f283827e Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Fri, 14 Mar 2014 16:02:21 +0100 Subject: [PATCH] gluon-luci-autoupdater: remove branch settings --- .../usr/lib/lua/luci/model/cbi/admin/autoupdater.lua | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/gluon/gluon-luci-autoupdater/files/usr/lib/lua/luci/model/cbi/admin/autoupdater.lua b/gluon/gluon-luci-autoupdater/files/usr/lib/lua/luci/model/cbi/admin/autoupdater.lua index 960fe40..6800422 100644 --- a/gluon/gluon-luci-autoupdater/files/usr/lib/lua/luci/model/cbi/admin/autoupdater.lua +++ b/gluon/gluon-luci-autoupdater/files/usr/lib/lua/luci/model/cbi/admin/autoupdater.lua @@ -18,22 +18,14 @@ m.reset = "Zurücksetzen" m.pageaction = false m.template = "admin/expertmode" -s = m:section(TypedSection, "autoupdater", "Einstellungen") +s = m:section(TypedSection, "autoupdater", nil) s.addremove = false +s.anonymous = true s:option(Flag, "enabled", "Aktivieren") f = s:option(ListValue, "branch", "Branch") uci.cursor():foreach("autoupdater", "branch", function (section) f:value(section[".name"]) end) -s = m:section(TypedSection, "branch", "Branches") -s.addremove = true - -s:option(DynamicList, "mirror", "Mirrors") -s:option(Value, "probability", "Update Wahrscheinlichkeit") -s:option(Value, "good_signatures", "Benötigte Signaturen") - -o = s:option(DynamicList, "pubkey", "Public Keys") - return m