Skip to content
Snippets Groups Projects
Unverified Commit 7e4bfee3 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-core: upgrade: remove unused variables

parent 7b23e443
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
local site = require 'gluon.site' local site = require 'gluon.site'
local uci = require('simple-uci').cursor() local uci = require('simple-uci').cursor()
local old_proto = uci:get('network', 'mesh_wan', 'proto')
uci:section('network', 'interface', 'mesh_wan', { uci:section('network', 'interface', 'mesh_wan', {
ifname = 'br-wan', ifname = 'br-wan',
proto = 'gluon_wired', proto = 'gluon_wired',
......
...@@ -10,8 +10,6 @@ if not sysconfig.lan_ifname then ...@@ -10,8 +10,6 @@ if not sysconfig.lan_ifname then
os.exit(0) os.exit(0)
end end
local old_proto = uci:get('network', 'mesh_lan', 'proto')
uci:section('network', 'interface', 'mesh_lan', { uci:section('network', 'interface', 'mesh_lan', {
ifname = sysconfig.lan_ifname, ifname = sysconfig.lan_ifname,
igmp_snooping = false, igmp_snooping = false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment