mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-09 07:39:03 +00:00
19 lines
501 B
Lua
19 lines
501 B
Lua
--
|
|
-- (C) 2013-17 - ntop.org
|
|
--
|
|
|
|
|
|
local dirs = ntop.getDirs()
|
|
|
|
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|
package.path = dirs.installdir .. "/pro/scripts/callbacks/system/?.lua;" .. package.path
|
|
|
|
if ntop.isnEdge() then
|
|
package.path = dirs.installdir .. "/pro/scripts/lua/nedge/modules/?.lua;" .. package.path
|
|
|
|
local NfConfig = require("nf_config")
|
|
NfConfig.checkPolicyChange()
|
|
|
|
local ping_utils = require('ping_utils')
|
|
ping_utils.check_status()
|
|
end
|