diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces index 24a32e39..53febdb1 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces @@ -62,16 +62,6 @@ elseif platform.match('ath79', 'generic', { 'ubnt,unifiac-pro', }) then lan_ifname, wan_ifname = 'eth0.2', 'eth0.1' -elseif platform.match('lantiq') then - local switch_data = board_data.switch or {} - local switch0_data = switch_data.switch0 or {} - local roles_data = switch0_data.roles or {} - for _, role_data in ipairs(roles_data) do - if role_data.role == 'wan' then - wan_ifname = iface_exists(role_data.device) - break - end - end elseif platform.match('ramips', 'mt7621', { 'netgear,wac104', }) then