gluon-core: upgrade: remove unused variables

This commit is contained in:
Matthias Schiffer 2018-07-14 13:35:28 +02:00
parent 7b23e443e1
commit 7e4bfee3c9
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 0 additions and 4 deletions

View File

@ -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',

View File

@ -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,