aboutsummaryrefslogtreecommitdiff
path: root/stand/lua/cli.lua.8
Commit message (Collapse)AuthorAgeFilesLines
* stand/lua manuals: Describe betterAlexander Ziaee2025-05-121-2/+2
| | | | | | | | | | | | The lua boot loader module manuals were getting pulled into search results for FreeBSD, but not for "boot" or "loader". Reword them to increase clarity for boot or loader searches, as well as the FreeBSD search term which we've been scoping to system topic overview manuals. MFC after: 3 days Reviewed by: imp, mhorne Approved by: mhorne (mentor) Pull Request: https://github.com/freebsd/freebsd-src/pulls/1628
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-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
* cli.lua.8: make the command match the codeWarner Losh2021-07-291-2/+2
| | | | | | | It's disable-device, not device-disable Spotted by: jrtc27 Sponsored by: Netflix
* lua loader: Add disable-device to disable a device.Warner Losh2021-07-281-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
* 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