diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/210-interface-wan b/package/gluon-core/luasrc/lib/gluon/upgrade/210-interface-wan index e8600ee8..070b264d 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/210-interface-wan +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/210-interface-wan @@ -3,8 +3,6 @@ local site = require 'gluon.site' local uci = require('simple-uci').cursor() -local old_proto = uci:get('network', 'mesh_wan', 'proto') - uci:section('network', 'interface', 'mesh_wan', { ifname = 'br-wan', proto = 'gluon_wired', diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/220-interface-lan b/package/gluon-core/luasrc/lib/gluon/upgrade/220-interface-lan index a6fb4127..e80cbf9f 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/220-interface-lan +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/220-interface-lan @@ -10,8 +10,6 @@ if not sysconfig.lan_ifname then os.exit(0) end -local old_proto = uci:get('network', 'mesh_lan', 'proto') - uci:section('network', 'interface', 'mesh_lan', { ifname = sysconfig.lan_ifname, igmp_snooping = false,