Fix paths and owner on BSD

This commit is contained in:
Alfredo Cardigliano 2021-03-03 10:02:20 +01:00
parent 7aa02a5710
commit 44bbe6caf1
9 changed files with 46 additions and 16 deletions

View file

@ -10,11 +10,14 @@ require "lua_utils"
local tracker = require "tracker"
local os_utils = {}
local NTOPCTL_CMD = "/usr/bin/ntopctl"
local NTOPNG_CONFIG_TOOL = "/usr/bin/ntopng-utils-manage-config"
local is_windows = ntop.isWindows()
local is_freebsd = ntop.isFreeBSD()
local dirs = ntop.getDirs()
local NTOPCTL_CMD = dirs.bindir.."/ntopctl"
local NTOPNG_CONFIG_TOOL = dirs.bindir.."/ntopng-utils-manage-config"
-- ########################################################
function os_utils.getPathDivider()