Skip to content
Snippets Groups Projects
Unverified Commit 949f4b7d authored by kb-light's avatar kb-light Committed by Matthias Schiffer
Browse files

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

parent 3df9fcec
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,8 @@ local site = require 'gluon.site_config' ...@@ -6,8 +6,8 @@ local site = require 'gluon.site_config'
if (not sysconfig.gluon_version) and site.poe_passthrough then if (not sysconfig.gluon_version) and site.poe_passthrough then
local uci = require('simple-uci').cursor() local uci = require('simple-uci').cursor()
if uci:get('system', 'gpio_switch_poe_passthrough') then if uci:get('system', 'gpio_switch_poe_passthrough') then
uci:set('system', 'gpio_switch_poe_passthrough', 'value', true) uci:set('system', 'gpio_switch_poe_passthrough', 'value', true)
uci:save('system') uci:save('system')
end end
end end
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