manman-sync: save properly

This commit is contained in:
Maciej Krüger 2022-01-18 19:12:22 +01:00 committed by Alexander List
parent 3c769526c6
commit 3674dddc97

View File

@ -231,6 +231,7 @@ if uci:get_bool('gluon-manman-sync', 'sync', 'enabled') then
uci:set('gluon-manman-sync', 'sync', 'last_data', json.stringify(location))
uci:save('system')
uci:save('gluon')
uci:save('gluon-manman-sync')
uci:save('gluon-static-ip')
uci:save('gluon-node-info')