applications/luci-diag-devinfo: add index() stubs to controller files (#281)

This commit is contained in:
Jo-Philipp Wich 2011-07-30 19:42:05 +00:00
parent 7dc764e861
commit 753dbfff7a
3 changed files with 13 additions and 2 deletions

View file

@ -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

View file

@ -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()

View file

@ -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()