From 949f4b7dd5739504978a658472caa98add74a853 Mon Sep 17 00:00:00 2001 From: kb-light Date: Thu, 6 Jul 2017 19:20:01 +0200 Subject: [PATCH] gluon-core: lib/gluon/upgrade/150-poe-passthrough: fix indentation --- .../luasrc/lib/gluon/upgrade/150-poe-passthrough | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/150-poe-passthrough b/package/gluon-core/luasrc/lib/gluon/upgrade/150-poe-passthrough index 1ee362b8..ab35dec0 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/150-poe-passthrough +++ b/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