HardenedBSD/stand/lua
Kyle Evans 0db2ca0c31 lua: add modules.loaded hook
This may be used for the local module to hook in and load any additional
modules that it wants, since it can't modify the modules table internal to
config. We may consider adding API to do so at a later time, but I suspect
it will be more complicated to use with little return.

status is captured but ignored for the purpose of loading the hook. status
will be false if *any* module failed to load, but we typically don't let
that halt the boot so there's no reason to let it halt hooks. Some vendors
or setups may have expected fails that would be actively thwarted by
checking it.

We may, at a later date, consider adding an API for letting non-config
modules check which modules have successfully (or not) loaded in case an
unexpected failure *should* halt whatever they are doing.

MFC after:	3 days
2020-01-25 03:52:16 +00:00
..
cli.lua lualoader: Add reload-conf loader command 2019-09-14 03:38:18 +00:00
cli.lua.8 lualoader: Add reload-conf loader command 2019-09-14 03:38:18 +00:00
color.lua lualoader: fix setting of loader_color=NO in loader.conf(5) 2019-10-21 20:17:31 +00:00
color.lua.8
config.lua lua: add modules.loaded hook 2020-01-25 03:52:16 +00:00
config.lua.8
core.lua lualoader: correct a typo from r354247 2019-12-03 18:44:19 +00:00
core.lua.8
drawer.lua
drawer.lua.8
hook.lua
hook.lua.8
loader.lua loader.lua: re-arrange to load local.lua *after* config loading 2020-01-25 03:02:45 +00:00
logo-beastie.lua loader_lua: lua color changes should end with reset 2019-09-22 17:39:20 +00:00
logo-beastiebw.lua
logo-fbsdbw.lua
logo-orb.lua loader_lua: lua color changes should end with reset 2019-09-22 17:39:20 +00:00
logo-orbbw.lua
Makefile stand: consolidate knowledge of lua path 2019-11-02 03:37:58 +00:00
menu.lua Further normalize copyright notices 2019-09-26 16:19:22 +00:00
menu.lua.8
password.lua Further normalize copyright notices 2019-09-26 16:19:22 +00:00
password.lua.8
screen.lua lualoader: don't botch disabling of color 2019-10-21 20:09:43 +00:00
screen.lua.8