]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lua loader: Add disable-device to disable a device.
authorWarner Losh <imp@FreeBSD.org>
Wed, 28 Jul 2021 22:52:38 +0000 (16:52 -0600)
committerWarner Losh <imp@FreeBSD.org>
Sun, 12 Sep 2021 15:56:15 +0000 (09:56 -0600)
commit25b4b24edf465f3ebc8ad796bbfd11c2588a4e79
treeea7f4eaa3731f50e6020956bc7d01ea76593fc3f
parent3a4b9e30d4119b952fd0690cb7ab8eb9c4346317
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)
stand/lua/cli.lua
stand/lua/cli.lua.8