]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: provide module-manipulation commands
authorKyle Evans <kevans@FreeBSD.org>
Sat, 12 Dec 2020 05:57:42 +0000 (05:57 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 12 Dec 2020 05:57:42 +0000 (05:57 +0000)
commit4634bb1f4052ff5f1c0a423fd8cce11396ca7fd2
tree57f00844aec1e92fe199b59d3ee33c8ec6e3a9a4
parentdd1ce6c7f19ad7ccd2eb9be78655238ae1b4ea5e
lualoader: provide module-manipulation commands

Specifically, we have:
- enable-module
- disable-module
- toggle-module

These can be used to add/remove modules to be loaded or force modules to be
loaded in spite of modules_blacklist. In the typical case, a user is
expected to use them to recover an issue happening due to a module directive
they've added to their loader.conf or because they discover that they've
under-specified what to load.

MFC after: 1 week
stand/lua/cli.lua
stand/lua/cli.lua.8
stand/lua/config.lua
stand/lua/config.lua.8