From d6afc6685904e58a7805e13d4b2f464e1196608e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Fri, 17 Dec 2021 13:23:47 +0100 Subject: [PATCH] manman-sync: run reconfigure aswell --- 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 d3ebb799..1bc0405f 100755 --- a/package/gluon-manman-sync/luasrc/usr/bin/manman-sync +++ b/package/gluon-manman-sync/luasrc/usr/bin/manman-sync @@ -124,8 +124,8 @@ if uci:get_bool('gluon-manman-sync', 'sync', 'enabled') then uci:save('gluon-static-ip') uci:save('gluon-node-info') - -- TODO: exec gluon-reload - print('Reloading...') + print('Applying changes...') + os.execute('exec gluon-reconfigure') os.execute('exec gluon-reload') else print('manman-sync not enabled, skipping')