gluon-core: upgrade: remove unused variables
This commit is contained in:
parent
7b23e443e1
commit
7e4bfee3c9
@ -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',
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user