Developing lightweight computation at the DSG edge

Commit 8526aa5d authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Remove luci.fs references in usr/lib/lua/luci/controller/qmp.lua (fix #342)

parent 189cec66
......@@ -22,7 +22,7 @@
module("luci.controller.qmp", package.seeall)
function index()
local fs = require "luci.fs"
-- local fs = require "luci.fs"
-- Making qmp as default
local root = node()
root.target = alias("qmp")
......@@ -48,9 +48,9 @@ function index()
entry({"qmp","tools"}, call("action_tools"), "Tools", 5).dependent=false
entry({"qmp","tools","tools"}, call("action_tools"), "Network testing", 1).dependent=false
if luci.fs.isfile("/usr/lib/lua/luci/model/cbi/qmp/mdns.lua") then
entry({"qmp","tools","mDNS"}, cbi("qmp/mdns"), "DNS mesh", 1).dependent=false
end
-- if luci.fs.isfile("/usr/lib/lua/luci/model/cbi/qmp/mdns.lua") then
-- entry({"qmp","tools","mDNS"}, cbi("qmp/mdns"), "DNS mesh", 1).dependent=false
-- end
-- entry({"qmp","tools","splash"}, call("action_splash"), "Splash", 2).dependent=false
-- entry({"qmp","tools","map"}, call("action_map"), "Map", 3).dependent=false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment