mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Implements #4217
This commit is contained in:
parent
0a1902daa4
commit
aa1dc0b31d
2 changed files with 15 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue