Pass in the NOMATCH event to devmatch

In devd/devmatch.conf, we need to pass the event to the devmatch
serivce. It gets passed to devmatch -p for matching. We always pass
this, unlike hps' original patch, so we kill two birds with one stone
and only match modules to the event passed in.

Submitted by: hps@
Sponsored by: Netflix
This commit is contained in:
Warner Losh 2018-02-17 06:57:38 +00:00
parent d38a8a7aa5
commit 247f52f185

View File

@ -9,7 +9,7 @@
# #
# Generic NOMATCH event # Generic NOMATCH event
nomatch 100 { nomatch 100 {
action "service devmatch start"; action "service devmatch start '?$_'";
}; };
# Add the following to devd.conf to prevent this from running: # Add the following to devd.conf to prevent this from running: