Developing lightweight computation at the DSG edge

Commit 36a4fd01 authored by Simó Albert i Beltran's avatar Simó Albert i Beltran
Browse files

Define interface type before attach the device, closes #203.

parent d0cc20a4
......@@ -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
......
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