ntopng/scripts/callbacks/shutdown.lua
Luca Deri b44032933d Added shutdown.lua callback script to be executed during shutdown
RuntimePrefs are now dumped to disk via Lua and not C++
2017-09-20 23:03:21 +02:00

15 lines
269 B
Lua

--
-- (C) 2013-17 - ntop.org
--
--
-- This script is executed when ntopng shuts down when
-- network interfaces are setup
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
savePrefsToDisk()