devmatch: Address some rc nits

- devmatch_enable in rc.conf(5) was not gating the start of devmatch

- Use quietstart in devd/devmatch to suppress dozens of 'Cannot start'
  messages and other spurious messages from rc.subr(8) that aren't
  necessarily helpful.

Discussed with:	imp
This commit is contained in:
Kyle Evans 2018-06-14 16:09:29 +00:00
parent 402c7806cb
commit 9d3730e514
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -33,6 +33,7 @@
name="devmatch"
desc="Use devmatch(8) to load kernel modules"
rcvar="${name}_enable"
start_cmd="${name}_start"
stop_cmd=':'