aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Oldach <freebsd@oldach.net>2021-07-07 20:43:35 +0000
committerWarner Losh <imp@FreeBSD.org>2021-07-16 18:28:43 +0000
commit1466c6253e559ae615446c3f0b27ef9d0ada4209 (patch)
treeba0ad3523497ae61d7f3f6294c4854d7b676d566
parent569798e0824a61f7f5308da4619322110523471b (diff)
downloadsrc-1466c6253e559ae615446c3f0b27ef9d0ada4209.tar.gz
src-1466c6253e559ae615446c3f0b27ef9d0ada4209.zip
devmatch: defer until after kld
devmatch loads a number of things automatically. Allow the list of things to load to happen first in case those drivers affect what would be loaded. Normally, this will produce the same results, but there's some special cases that may not when drivers are loaded that report other drivers missing, like virtio_pci. PR: 253287 Reviewed by: imp MFC After: 2 weeks (cherry picked from commit f68e3ea831b76a8927eed7f7abfea55ee5a193c4)
-rwxr-xr-xlibexec/rc/rc.d/devmatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rc/rc.d/devmatch b/libexec/rc/rc.d/devmatch
index 0b2e3719dabb..dd61307a4e0a 100755
--- a/libexec/rc/rc.d/devmatch
+++ b/libexec/rc/rc.d/devmatch
@@ -26,7 +26,7 @@
# $FreeBSD$
#
# PROVIDE: devmatch
-# REQUIRE: kldxref
+# REQUIRE: kld
# BEFORE: netif
# KEYWORD: nojail