From 7268e49a301fcd643a49b329bd6097a0f85bdabb Mon Sep 17 00:00:00 2001 From: kb-light Date: Thu, 6 Jul 2017 22:03:40 +0200 Subject: [PATCH] gluon-core: update lib/gluon/upgrade/150-poe-passthrough for naming within lede --- .../gluon-core/luasrc/lib/gluon/upgrade/150-poe-passthrough | 4 ++-- 1 file changed, 2 insertions(+), 2 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 ab35dec0..ded75509 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) + if uci:get('system', 'poe_passthrough') then + uci:set('system', 'poe_passthrough', 'value', true) uci:save('system') end end