From 02a908ee2f3bf8758ba6ed313984f7e45900d705 Mon Sep 17 00:00:00 2001 From: ctr49 Date: Wed, 6 May 2020 01:12:26 +0200 Subject: [PATCH] get primary_mac from board(wan) --- .../gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac index dbf513a2..0d17338e 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac @@ -105,9 +105,6 @@ local primary_addrs = { 'archer-c60-v1', 'archer-c7', }}, - {'ipq40xx', 'generic', { - 'linksys,ea6350v3', - }}, {'ipq806x', 'generic', { 'netgear,r7800', }}, @@ -130,6 +127,11 @@ local primary_addrs = { 'netgear,dgn3500b', }}, }}, + {board('wan'), { + {'ipq40xx', 'generic', { + 'linksys,ea6350v3', + }}, + }}, -- phy0 default {phy(0), { {}, -- matches everything