manman-sync: fix enable

This commit is contained in:
Maciej Krüger 2022-04-13 18:31:20 +02:00 committed by Alexander List
parent 7a600a4378
commit a7c8b3a8d8

View File

@ -377,7 +377,7 @@ local function enable_sync(location, node)
end
if not uci:get_bool('gluon-manman-sync', 'sync', 'enabled') then
uci:set('gluon-manman-sync', 'sync', 'enabled', false)
uci:set('gluon-manman-sync', 'sync', 'enabled', true)
print('Enabled sync.')
print('Trigger with manman-sync sync')
else