Developing lightweight computation at the DSG edge

Commit 219af226 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Migrate to new UCI network model (IV)



This commit applies to wireless interfaces.

Fixes #489.
Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 1525fd49
......@@ -90,8 +90,8 @@ qmp_set_vlan() {
uci set network.${uiface}_${vid}.vid=${vid}
uci set network.${uiface}_${vid}_${vtype}=interface
uci set network.${uiface}_${vid}_${vtype}.ifname=${uiface}_${vid}
uci set network.${uiface}_${vid}_${vtype}.proto=${none}
uci set network.${uiface}_${vid}_${vtype}.device=${uiface}_${vid}
uci set network.${uiface}_${vid}_${vtype}.proto="none"
uci set network.${uiface}_${vid}_${vtype}.auto=1
uci commit network
}
......
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