0db2ca0c31
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 |
||
---|---|---|
.. | ||
cli.lua | ||
cli.lua.8 | ||
color.lua | ||
color.lua.8 | ||
config.lua | ||
config.lua.8 | ||
core.lua | ||
core.lua.8 | ||
drawer.lua | ||
drawer.lua.8 | ||
hook.lua | ||
hook.lua.8 | ||
loader.lua | ||
logo-beastie.lua | ||
logo-beastiebw.lua | ||
logo-fbsdbw.lua | ||
logo-orb.lua | ||
logo-orbbw.lua | ||
Makefile | ||
menu.lua | ||
menu.lua.8 | ||
password.lua | ||
password.lua.8 | ||
screen.lua | ||
screen.lua.8 |