Move the devmatch rc.d script before netif in the boot process.

Prior to this change, using lagg to aggregate wired and wireless networks
was broken in the (relatively common) case where wifi drivers + firmware
are loaded by devmatch, since the interface didn't exist at the time when
the lagg interface was being created.

Suggested by:	imp
MFC after:	3 days
This commit is contained in:
Colin Percival 2020-05-16 18:37:48 +00:00
parent 9033ad5f15
commit 3cc620328f

View File

@ -27,6 +27,7 @@
#
# PROVIDE: devmatch
# REQUIRE: kldxref
# BEFORE: netif
# KEYWORD: nojail
. /etc/rc.subr