GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LOADER.CONF.LUA(5) FreeBSD File Formats Manual LOADER.CONF.LUA(5)

loader.conf.luasystem bootstrap Lua configuration information

When the lua-based loader(8) encounters a filename in loader_conf_files that has a “.lua” suffix, it will be loaded and executed by the lua interpreter in a limited environment.

The limited environment does not contain the ability to reference or load other lua modules. Existing loader environment variables may be referenced as if they were already defined global variables.

A lua configuration file may set any global variable, which will subsequently be processed and added to the environment after execution of the configuration file has completed. Other than the exec setting, all variables described in loader.conf(5) operate the same in the loader.conf.lua environment. Note that the settings describing module options can only be set in the environment; there is currently no way for a loader.conf.lua to fetch them. At this time, global table and function values are ignored.

The () hook will be run with an empty environment provided to it that may be populated by a custom local.lua.

loader.conf(5)

The mechanism for loading loader.conf.lua files was originally written by Kyle Evans <kevans@FreeBSD.org>.

May 10, 2023 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.