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

gluon-core: upgrade/210-interface-wan: whitespace cleanup

parent 0db63008
No related branches found
No related tags found
No related merge requests found
...@@ -4,13 +4,13 @@ local site = require 'gluon.site_config' ...@@ -4,13 +4,13 @@ local site = require 'gluon.site_config'
local uci = require('simple-uci').cursor() local uci = require('simple-uci').cursor()
if not uci:get('network', 'mesh_wan') then if not uci:get('network', 'mesh_wan') then
uci:section('network', 'interface', 'mesh_wan', { uci:section('network', 'interface', 'mesh_wan', {
ifname = 'br-wan', ifname = 'br-wan',
proto = 'gluon_mesh', proto = 'gluon_mesh',
transitive = true, transitive = true,
fixed_mtu = true, fixed_mtu = true,
auto = site.mesh_on_wan or false, auto = site.mesh_on_wan or false,
}) })
end end
uci:save('network') uci:save('network')
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