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

gluon-core: update lib/gluon/upgrade/150-poe-passthrough for naming within lede

parent 949f4b7d
No related branches found
No related tags found
No related merge requests found
......@@ -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
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