config.lua.8 (4634bb1f4052ff5f1c0a423fd8cce11396ca7fd2) | config.lua.8 (7ed84fa14b00cdacfe9b43019cba7a14b33af352) |
---|---|
1.\" 2.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3.\" 4.\" Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org> 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 12 unchanged lines hidden (view full) --- 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.\" $FreeBSD$ 28.\" | 1.\" 2.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3.\" 4.\" Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org> 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 12 unchanged lines hidden (view full) --- 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.\" $FreeBSD$ 28.\" |
29.Dd December 12, 2020 | 29.Dd December 17, 2020 |
30.Dt CONFIG.LUA 8 31.Os 32.Sh NAME 33.Nm config.lua 34.Nd FreeBSD config module 35.Sh DESCRIPTION 36.Nm 37contains configuration and module loading functionality. --- 160 unchanged lines hidden (view full) --- 198.Fn config.loadelf . 199.It Fn config.isModuleEnabled modname 200Checks if the module named 201.Fa modname 202will be loaded during 203.Fn config.loadelf . 204It checks both that the module is marked for loading and that it is either 205forced or not blacklisted. | 30.Dt CONFIG.LUA 8 31.Os 32.Sh NAME 33.Nm config.lua 34.Nd FreeBSD config module 35.Sh DESCRIPTION 36.Nm 37contains configuration and module loading functionality. --- 160 unchanged lines hidden (view full) --- 198.Fn config.loadelf . 199.It Fn config.isModuleEnabled modname 200Checks if the module named 201.Fa modname 202will be loaded during 203.Fn config.loadelf . 204It checks both that the module is marked for loading and that it is either 205forced or not blacklisted. |
206.It Fn config.getModuleInfo 207Returns a table with 208.Dq modules 209and 210.Dq blacklist 211tables describing the modules that the config module has been made aware of via 212.Xr loader.conf 5 213as well as a representation of 214.Ar module_blacklist . |
|
206.El 207.Ss Defined Hooks 208The following hooks are defined in 209.Nm : 210.Bl -tag -width "config.reloaded" -offset indent 211.It Fn config.loaded 212.It Fn config.reloaded 213.It Fn kernel.loaded --- 14 unchanged lines hidden --- | 215.El 216.Ss Defined Hooks 217The following hooks are defined in 218.Nm : 219.Bl -tag -width "config.reloaded" -offset indent 220.It Fn config.loaded 221.It Fn config.reloaded 222.It Fn kernel.loaded --- 14 unchanged lines hidden --- |