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
36a4fd01
Commit
36a4fd01
authored
Feb 12, 2013
by
Simó Albert i Beltran
Browse files
Define interface type before attach the device, closes #203.
parent
d0cc20a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-system/files/etc/qmp/qmp_functions.sh
View file @
36a4fd01
...
...
@@ -621,11 +621,11 @@ qmp_configure_network() {
# LAN device
uci
set
$conf
.lan
=
"interface"
uci
set
$conf
.lan.type
=
"bridge"
local
device
for
device
in
$(
qmp_get_devices lan
)
;
do
qmp_attach_device_to_interface
$device
$conf
lan
done
uci
set
$conf
.lan.type
=
"bridge"
uci
set
$conf
.lan.proto
=
"static"
uci
set
$conf
.lan.ipaddr
=
$LAN_ADDR
uci
set
$conf
.lan.netmask
=
$LAN_MASK
...
...
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