mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix SyslogParserInterface plugins loading
This commit is contained in:
parent
15c013922d
commit
61ab06fcd7
4 changed files with 26 additions and 1 deletions
|
|
@ -845,4 +845,14 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Deletes the plugins runtime directories. This is usually called
|
||||
-- in boot.lua to start fresh.
|
||||
function plugins_utils.cleanup()
|
||||
ntop.rmdir(os_utils.fixPath(dirs.workingdir .. "/plugins"))
|
||||
ntop.rmdir(ntop.getCurrentPluginsDir())
|
||||
ntop.rmdir(ntop.getShadowPluginsDir())
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
return(plugins_utils)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue