]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: provide module-manipulation commands
authorkevans <kevans@FreeBSD.org>
Sat, 12 Dec 2020 05:57:42 +0000 (05:57 +0000)
committerkevans <kevans@FreeBSD.org>
Sat, 12 Dec 2020 05:57:42 +0000 (05:57 +0000)
commit272c7acec71b47fde9dbe0cc5e6edda6b5385a0d
tree57f00844aec1e92fe199b59d3ee33c8ec6e3a9a4
parent873cdb3fad0a872ffd460591787bd392cf95e587
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