applications/luci-diag-devinfo: add index() stubs to controller files (#281)
This commit is contained in:
parent
7dc764e861
commit
753dbfff7a
3 changed files with 13 additions and 2 deletions
|
@ -23,6 +23,10 @@ local translate = luci.i18n.translate
|
|||
local DummyValue = luci.cbi.DummyValue
|
||||
local SimpleSection = luci.cbi.SimpleSection
|
||||
|
||||
function index()
|
||||
return -- no-op
|
||||
end
|
||||
|
||||
function run_processes(outnets, cmdfunc)
|
||||
i = next(outnets, nil)
|
||||
while (i) do
|
||||
|
|
|
@ -23,6 +23,9 @@ local translate = luci.i18n.translate
|
|||
local DummyValue = luci.cbi.DummyValue
|
||||
local SimpleSection = luci.cbi.SimpleSection
|
||||
|
||||
function index()
|
||||
return -- no-op
|
||||
end
|
||||
|
||||
function get_params()
|
||||
|
||||
|
|
|
@ -23,6 +23,10 @@ local translate = luci.i18n.translate
|
|||
local DummyValue = luci.cbi.DummyValue
|
||||
local SimpleSection = luci.cbi.SimpleSection
|
||||
|
||||
function index()
|
||||
return -- no-op
|
||||
end
|
||||
|
||||
function get_params()
|
||||
|
||||
local smapnets_uci = luci.model.uci.cursor()
|
||||
|
|
Loading…
Reference in a new issue