manman-sync: run reconfigure aswell

This commit is contained in:
Maciej Krüger 2021-12-17 13:23:47 +01:00 committed by Alexander List
parent bf43cb50ff
commit d6afc66859

View File

@ -124,8 +124,8 @@ if uci:get_bool('gluon-manman-sync', 'sync', 'enabled') then
uci:save('gluon-static-ip') uci:save('gluon-static-ip')
uci:save('gluon-node-info') uci:save('gluon-node-info')
-- TODO: exec gluon-reload print('Applying changes...')
print('Reloading...') os.execute('exec gluon-reconfigure')
os.execute('exec gluon-reload') os.execute('exec gluon-reload')
else else
print('manman-sync not enabled, skipping') print('manman-sync not enabled, skipping')