mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
lualoader: Add note about importance of including the cli module early
This commit is contained in:
parent
6d27b68a1a
commit
ee15e552d0
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,10 @@
|
|||
-- $FreeBSD$
|
||||
--
|
||||
|
||||
-- The cli module should be included first here. Some of the functions that it
|
||||
-- defines are necessary for the Lua-based loader to operate in general.
|
||||
-- Other modules will also need some of the functions it defines to safely
|
||||
-- execute loader commands.
|
||||
require("cli")
|
||||
local core = require("core")
|
||||
local config = require("config")
|
||||
|
|
|
|||
Loading…
Reference in a new issue