diff --git a/package/gluon-config-mode-manman-sync/luasrc/lib/gluon/config-mode/reboot/0100-manman-sync.lua b/package/gluon-config-mode-manman-sync/luasrc/lib/gluon/config-mode/reboot/0100-manman-sync.lua index d2fa702f..27c0b3a1 100644 --- a/package/gluon-config-mode-manman-sync/luasrc/lib/gluon/config-mode/reboot/0100-manman-sync.lua +++ b/package/gluon-config-mode-manman-sync/luasrc/lib/gluon/config-mode/reboot/0100-manman-sync.lua @@ -1,10 +1,10 @@ local site_i18n = i18n 'gluon-site' -local uci = require("simple-uci").cursor() +local uci = require('simple-uci').cursor() local msg -if uci:get_bool("gluon", "manman_sync", "enabled") then +if uci:get_bool('gluon-manman-sync', 'sync', 'enabled') then msg = site_i18n._translate('gluon-config-mode:manman') else msg = site_i18n._translate('gluon-config-mode:no-manman') @@ -13,5 +13,5 @@ end if not msg then return end renderer.render_string(msg, { - location_id = uci:get("gluon", "manman_sync", "location_id") + location_id = uci:get('gluon-manman-sync', 'sync', 'node_id') })