Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
1f4487ac
Commit
1f4487ac
authored
Oct 10, 2012
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/usr/lib/lua/luci/model/cbi/qmp/wizard.lua
View file @
1f4487ac
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment