manman-sync: run reconfigure aswell
This commit is contained in:
parent
bf43cb50ff
commit
d6afc66859
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user