This commit is contained in:
Luca Deri 2020-07-29 22:51:36 +02:00
parent 0a1902daa4
commit aa1dc0b31d
2 changed files with 15 additions and 0 deletions

View file

@ -41,3 +41,11 @@ end
-- They will be loaded in startup.lua . Here we only delete old directories.
local plugins_utils = require "plugins_utils"
plugins_utils.cleanup()
-- Check if there is a local file to run
local local_boot_file = "/usr/share/ntopng/local/scripts/callbacks/system/boot.lua"
if(ntop.exists(local_boot_file)) then
traceError(TRACE_NORMAL, TRACE_CONSOLE, "Running "..local_boot_file)
dofile(local_boot_file)
end