Skip to content
Snippets Groups Projects
Commit c7d96917 authored by Nils Schneider's avatar Nils Schneider
Browse files

gluon-luci-autoupdater: remove branch settings

parent 13d632ac
No related branches found
No related tags found
No related merge requests found
...@@ -18,22 +18,14 @@ m.reset = "Zurücksetzen" ...@@ -18,22 +18,14 @@ m.reset = "Zurücksetzen"
m.pageaction = false m.pageaction = false
m.template = "admin/expertmode" m.template = "admin/expertmode"
s = m:section(TypedSection, "autoupdater", "Einstellungen") s = m:section(TypedSection, "autoupdater", nil)
s.addremove = false s.addremove = false
s.anonymous = true
s:option(Flag, "enabled", "Aktivieren") s:option(Flag, "enabled", "Aktivieren")
f = s:option(ListValue, "branch", "Branch") f = s:option(ListValue, "branch", "Branch")
uci.cursor():foreach("autoupdater", "branch", function (section) f:value(section[".name"]) end) 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 return m
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment