Developing lightweight computation at the DSG edge

Commit 1f4487ac authored by Simó Albert i Beltran's avatar Simó Albert i Beltran
Browse files

sed -i -e 's/\s\+$//g' packages/qmp-small-node/files/usr/lib/lua/luci/model/cbi/qmp/wizard.lua

parent c2cfecf2
...@@ -31,10 +31,10 @@ qmpinfo = require "qmpinfo" ...@@ -31,10 +31,10 @@ qmpinfo = require "qmpinfo"
m = SimpleForm("qmp_tmp", translate("qMp Wizard")) m = SimpleForm("qmp_tmp", translate("qMp Wizard"))
local roaming_help local roaming_help
roaming_help = m:field(DummyValue,"roaming_help") roaming_help = m:field(DummyValue,"roaming_help")
roaming_help:depends("_netmode","roaming") roaming_help:depends("_netmode","roaming")
roaming_help.rawhtml = true roaming_help.rawhtml = true
roaming_help.default = "This mode is used to quick deployments. Connected devices cannot see each other among different Mesh nodes. \ roaming_help.default = "This mode is used to quick deployments. Connected devices cannot see each other among different Mesh nodes. \
However the devices can change between Access Points without loosing connectivity" However the devices can change between Access Points without loosing connectivity"
...@@ -66,8 +66,8 @@ devices = qmpinfo.get_devices() ...@@ -66,8 +66,8 @@ devices = qmpinfo.get_devices()
-- Ethernet devices -- Ethernet devices
nodedevs_eth = {} nodedevs_eth = {}
local function is_a(dev, what) local function is_a(dev, what)
local x local x
for x in util.imatch(uciout:get("qmp", "interfaces", what)) do for x in util.imatch(uciout:get("qmp", "interfaces", what)) do
if dev == x then if dev == x then
return true return true
...@@ -106,7 +106,7 @@ for i,v in ipairs(devices[2]) do ...@@ -106,7 +106,7 @@ for i,v in ipairs(devices[2]) do
else else
tmp.default = "Mesh" tmp.default = "Mesh"
end end
nodedevs_wifi[i] = {v,tmp} nodedevs_wifi[i] = {v,tmp}
end end
......
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