From e7c4ee890b6f36467f089bdf3bd40eb8fcbe12a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 13 Apr 2022 18:34:03 +0200 Subject: [PATCH] manman-sync: fix some stuff --- package/gluon-manman-sync/luasrc/usr/bin/manman-sync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/gluon-manman-sync/luasrc/usr/bin/manman-sync b/package/gluon-manman-sync/luasrc/usr/bin/manman-sync index 3fc99dad..5c14d6ac 100755 --- a/package/gluon-manman-sync/luasrc/usr/bin/manman-sync +++ b/package/gluon-manman-sync/luasrc/usr/bin/manman-sync @@ -368,12 +368,12 @@ local function enable_sync(location, node) if location then printf('Config location %s', location) - uci:set('gluon-manman-sync', 'sync', location) + uci:set('gluon-manman-sync', 'sync', 'location', location) end if node then printf('Config node %s', node) - uci:set('gluon-manman-sync', 'sync', node) + uci:set('gluon-manman-sync', 'sync', 'node', node) end if not uci:get_bool('gluon-manman-sync', 'sync', 'enabled') then