gluon-packages/gluon/gluon-config-mode-autoupdater/files/lib/gluon/config-mode/wizard/0050-autoupdater-info.lua

20 lines
410 B
Lua

local cbi = require "luci.cbi"
local uci = luci.model.uci.cursor()
local M = {}
function M.section(form)
local enabled = uci:get_bool("autoupdater", "settings", "enabled")
if enabled then
local s = form:section(cbi.SimpleSection, nil,
[[Dieser Knoten aktualisiert seine Firmware automatisch, sobald
eine neue Version vorliegt.]])
end
end
function M.handle(data)
return
end
return M