Reworks reload of in-mem preferences and runtimeprefs.json dump

This commit is contained in:
Simone Mainardi 2020-10-13 12:49:48 +02:00
parent 3912459892
commit 5b878a2a7a
10 changed files with 115 additions and 34 deletions

View file

@ -23,7 +23,9 @@ local now = os.time()
local ifnames = interface.getIfNames()
alert_utils.notify_ntopng_stop()
prefs_dump_utils.savePrefsToDisk()
-- Check and possibly dump preferences to disk
prefs_dump_utils.check_dump_prefs_to_disk()
for _, ifname in pairs(ifnames) do
interface.select(ifname)