Browse Source

gluon-core: lib/gluon/upgrade/150-poe-passthrough: fix indentation

kb-light 6 years ago
parent
commit
20f693bc4a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      package/gluon-core/luasrc/lib/gluon/upgrade/150-poe-passthrough

+ 4 - 4
package/gluon-core/luasrc/lib/gluon/upgrade/150-poe-passthrough

@@ -6,8 +6,8 @@ local site = require 'gluon.site_config'
 if (not sysconfig.gluon_version) and site.poe_passthrough then
 	local uci = require('simple-uci').cursor()
 
-  if uci:get('system', 'gpio_switch_poe_passthrough') then
-    uci:set('system', 'gpio_switch_poe_passthrough', 'value', true)
-    uci:save('system')
-  end
+	if uci:get('system', 'gpio_switch_poe_passthrough') then
+		uci:set('system', 'gpio_switch_poe_passthrough', 'value', true)
+		uci:save('system')
+	end
 end