]> 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 16:33:12 +0000 (10:33 -0600)
commit27eae824152767df7b581f488228fd584b1081a4
treef6a175e8cbf6bc8f2f4ddf5db0c9074813a9bfda
parent81719aafa86d9aa9ee5efc49689a16547ab7f2af
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