12345678910111213 |
- #!/usr/bin/lua
- local sysconfig = require 'gluon.sysconfig'
- 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', 'poe_passthrough') then
- uci:set('system', 'poe_passthrough', 'value', true)
- uci:save('system')
- end
- end
|