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 0a09313395b656bb2e2c31a8a4a3d97101a51250..c631f9bd9eee425d52b113776bfe568e73b082e2 100755
--- a/package/gluon-core/luasrc/lib/gluon/upgrade/220-interface-lan
+++ b/package/gluon-core/luasrc/lib/gluon/upgrade/220-interface-lan
@@ -7,35 +7,35 @@ local sysconfig = require 'gluon.sysconfig'
 local uci = require('simple-uci').cursor()
 
 if not sysconfig.lan_ifname then
-  os.exit(0)
+	os.exit(0)
 end
 
 uci:section('network', 'interface', 'mesh_lan', {
-  ifname        = sysconfig.lan_ifname,
-  type          = 'bridge',
-  igmp_snooping = false,
-  proto         = 'gluon_mesh',
-  transitive    = true,
-  fixed_mtu     = true,
+	ifname        = sysconfig.lan_ifname,
+	type          = 'bridge',
+	igmp_snooping = false,
+	proto         = 'gluon_mesh',
+	transitive    = true,
+	fixed_mtu     = true,
 })
 
 if uci:get('network', 'mesh_lan', 'auto') == nil then
-  local enable = site.mesh_on_lan
-
-  if enable then
-    local interfaces = uci:get_list('network', 'client', 'ifname')
-
-    if interfaces then
-      for lanif in sysconfig.lan_ifname:gmatch('%S+') do
-        if util.contains(interfaces, lanif) then
-          enable = false
-          break
-        end
-      end
-    end
-  end
-
-  uci:set('network', 'mesh_lan', 'auto', enable or false)
+	local enable = site.mesh_on_lan
+
+	if enable then
+		local interfaces = uci:get_list('network', 'client', 'ifname')
+
+		if interfaces then
+			for lanif in sysconfig.lan_ifname:gmatch('%S+') do
+				if util.contains(interfaces, lanif) then
+					enable = false
+					break
+				end
+			end
+		end
+	end
+
+	uci:set('network', 'mesh_lan', 'auto', enable or false)
 end
 
 uci:save('network')