aboutsummaryrefslogtreecommitdiff
path: root/stand/lua/cli.lua.8
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-231-2/+0
| | | | | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/ Similar commit in main: (cherry picked from commit fa9896e082a1)
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-07-251-1/+1
| | | | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix (cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
* cli.lua.8: make the command match the codeWarner Losh2021-09-121-2/+2
| | | | | | | | | It's disable-device, not device-disable Spotted by: jrtc27 Sponsored by: Netflix (cherry picked from commit 6b51baf6a8de7241a4e1b0c8436d70299cd55270)
* lua loader: Add disable-device to disable a device.Warner Losh2021-09-121-2/+8
| | | | | | | | | | | disable-device fooX will set hint.foo.X.disabled=1 as a way to easily disable a device attaching during boot. Reviewed by: tsoome Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31297 (cherry picked from commit 07c4b78d0a1d26b6441cf3e52b917f20c932b9d0)
* lualoader: cli: provide a show-module-options loader commandKyle Evans2020-12-171-1/+7
| | | | | | | | | | | | | This effectively dumps everything lualoader knows about to the console using the libsa pager; that particular lua interface was added in r368591. A pager stub implementation has been added that just dumps the output as-is as a compat shim for older loader binaries that do not have lpager. This stub should be moved into a more appropriate .lua file if we add anything else that needs the pager. Notes: svn path=/head/; revision=368728
* lualoader: provide module-manipulation commandsKyle Evans2020-12-121-8/+30
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=368575
* lualoader: Add reload-conf loader commandKyle Evans2019-09-141-3/+16
| | | | | | | | | | | | | | | | This command will trigger a reload of the configuration from disk. This is useful if you've changed currdev from recovery media to local disk as much as I have over the past ~2 hours and are tired of the extra keystrokes. This is really just a glorified shortcut, but reload-conf is likely easier to remember for other people and does save some keystrokes when reloading the configuration. It is also resilient to the underlying config method changing interface, but this is unlikely to happen. MFC after: 1 week Notes: svn path=/head/; revision=352314
* lualoader: Implement boot-confKyle Evans2018-11-021-4/+5
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=340040
* lualoader: Add cli.lua(8) to the treeKyle Evans2018-06-091-0/+112
Reviewed by: rpokala Differential Revision: https://reviews.freebsd.org/D14818 Notes: svn path=/head/; revision=334891