1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Turn devmatch on by default.

Turn devmatch on by default. However, use 'start' instead of
'onestart' in the devmatch.conf file so the setting of
'devmatch_enable' is honored. Give an example of what to put in
devd.conf if you want to disable just the run-time part of devmatch.

Relnotes: yes
This commit is contained in:
Warner Losh 2018-02-12 06:51:20 +00:00
parent ac28ac4863
commit 8d99f31cbb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329154
2 changed files with 9 additions and 2 deletions

View File

@ -41,7 +41,7 @@ ddb_enable="NO" # Set to YES to load ddb scripts at boot.
ddb_config="/etc/ddb.conf" # ddb(8) config file.
devd_enable="YES" # Run devd, to trigger programs on device tree changes.
devd_flags="" # Additional flags for devd(8).
devmatch_enable="NO" # Demand load kernel modules based on device ids.
devmatch_enable="YES" # Demand load kernel modules based on device ids.
#kld_list="" # Kernel modules to load after local disks are mounted
kldxref_enable="NO" # Build linker.hints files with kldxref(8).
kldxref_clobber="NO" # Overwrite old linker.hints at boot.

View File

@ -9,5 +9,12 @@
#
# Generic NOMATCH event
nomatch 100 {
action "service devmatch onestart"
action "service devmatch start"
};
# Add the following to devd.conf to preent this from running:
# nomatch 1000 {
# action "true"
# };
# it replaces the generic event with one of higher priority that
# does nothing. You can also set 'devmatch_enable=NO' in /etc/rc.conf