History log of /freebsd-13.1/stand/lua/cli.lua.8 (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0
# 6c8ad124 29-Jul-2021 Warner Losh <[email protected]>

cli.lua.8: make the command match the code

It's disable-device, not device-disable

Spotted by: jrtc27
Sponsored by: Netflix

(cherry picked from commit 6b51baf6a8de7241a4e1b0c8436d70299cd55270)


# 25b4b24e 28-Jul-2021 Warner Losh <[email protected]>

lua loader: Add disable-device to disable a device.

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:

lua loader: Add disable-device to disable a device.

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)

show more ...


Revision tags: release/13.0.0
# 7ed84fa1 17-Dec-2020 Kyle Evans <[email protected]>

lualoader: cli: provide a show-module-options loader command

This effectively dumps everything lualoader knows about to the console using
the libsa pager; that particular lua interface was added in

lualoader: cli: provide a show-module-options loader command

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.

show more ...


# 4634bb1f 12-Dec-2020 Kyle Evans <[email protected]>

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
l

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

show more ...


Revision tags: release/12.2.0, release/11.4.0, release/12.1.0
# af876563 14-Sep-2019 Kyle Evans <[email protected]>

lualoader: Add reload-conf loader command

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 h

lualoader: Add reload-conf loader command

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

show more ...


Revision tags: release/11.3.0, release/12.0.0
# 83f7a74c 02-Nov-2018 Kyle Evans <[email protected]>

lualoader: Implement boot-conf

MFC after: 3 days


Revision tags: release/11.2.0
# d4f74556 09-Jun-2018 Kyle Evans <[email protected]>

lualoader: Add cli.lua(8) to the tree

Reviewed by: rpokala
Differential Revision: https://reviews.freebsd.org/D14818