mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Add support for custom flow alerts in user scripts
This commit is contained in:
parent
862bc0dddd
commit
2fdc860ed2
11 changed files with 222 additions and 38 deletions
|
|
@ -513,4 +513,14 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function user_scripts.loadCustomPrefs()
|
||||
-- Try to load custom prefs
|
||||
if ntop.exists(dirs.installdir .. "/scripts/lua/modules/user_scripts_prefs.lua") then
|
||||
traceError(TRACE_DEBUG, TRACE_CONSOLE, "Loading user_scripts_prefs...")
|
||||
require("user_scripts_prefs")
|
||||
end
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
return(user_scripts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue