mirror of
https://github.com/ntop/ntopng.git
synced 2026-06-01 05:51:57 +00:00
- before ntopng switches from superuser to nobody - before networking is initialized The idea behind this script is to execute startup actions before ntopng is really started, and while we're still superuser
16 lines
350 B
Lua
16 lines
350 B
Lua
--
|
|
-- (C) 2013-17 - ntop.org
|
|
--
|
|
|
|
--
|
|
-- This script is executed once at boot
|
|
-- * BEFORE * network interfaces are setup
|
|
-- * BEFORE * switching to nobody
|
|
--
|
|
-- ** PLEASE PAY ATTENTION TO WHAT YOU EXECUTE ON THIS FILE **
|
|
--
|
|
|
|
dirs = ntop.getDirs()
|
|
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|
|
|
-- Nothing to do so far
|