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:
parent
402c7806cb
commit
9d3730e514
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335147
@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# Generic NOMATCH event
|
# Generic NOMATCH event
|
||||||
nomatch 100 {
|
nomatch 100 {
|
||||||
action "service devmatch start '?$_'";
|
action "service devmatch quietstart '?$_'";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Add the following to devd.conf to prevent this from running:
|
# Add the following to devd.conf to prevent this from running:
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
name="devmatch"
|
name="devmatch"
|
||||||
desc="Use devmatch(8) to load kernel modules"
|
desc="Use devmatch(8) to load kernel modules"
|
||||||
|
rcvar="${name}_enable"
|
||||||
|
|
||||||
start_cmd="${name}_start"
|
start_cmd="${name}_start"
|
||||||
stop_cmd=':'
|
stop_cmd=':'
|
||||||
|
Loading…
Reference in New Issue
Block a user