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

This commit is contained in:
kb-light 2017-07-06 19:20:01 +02:00 committed by Matthias Schiffer
parent 017fbe88bb
commit 20f693bc4a
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
1 changed files with 4 additions and 4 deletions

View File

@ -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