From de3d85b09c18b5f969fd145f985a972e462bb224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Tue, 17 May 2022 19:39:39 +0200 Subject: [PATCH] mesh-olsrd: revert bullshit everything goes in other? --- .../luasrc/lib/gluon/upgrade/540-static-ip | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/gluon-static-ip/luasrc/lib/gluon/upgrade/540-static-ip b/package/gluon-static-ip/luasrc/lib/gluon/upgrade/540-static-ip index 21c89bcc..1ea73e06 100755 --- a/package/gluon-static-ip/luasrc/lib/gluon/upgrade/540-static-ip +++ b/package/gluon-static-ip/luasrc/lib/gluon/upgrade/540-static-ip @@ -189,8 +189,8 @@ apply_network('mesh_uplink', uplink_mesh, 10) apply_network('loopback', true, 12) -local client_mesh = not uci:get_bool('network', 'mesh_client', 'disabled') -apply_network('mesh_client', client_mesh, 11) +local other_mesh = not uci:get_bool('network', 'mesh_other', 'disabled') +apply_network('mesh_other', other_mesh, 11) local mesh_interfaces = util.get_role_interfaces(uci, 'mesh') local uplink_interfaces = util.get_role_interfaces(uci, 'uplink') @@ -204,9 +204,9 @@ for _, iface in ipairs(mesh_interfaces) do end end -for index, intf in ipairs(mesh_interfaces_other) do - apply_network('mesh_' .. intf, true, 12 + index) -end +-- for index, intf in ipairs(mesh_interfaces_other) do +-- apply_network('mesh_' .. intf, true, 12 + index) +-- end uci:save('gluon-static-ip') uci:save('network')