Author: kevans Date: Thu Jun 14 16:09:29 2018 New Revision: 335147 URL: https://svnweb.freebsd.org/changeset/base/335147
Log: 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 Modified: head/etc/devd/devmatch.conf head/etc/rc.d/devmatch Modified: head/etc/devd/devmatch.conf ============================================================================== --- head/etc/devd/devmatch.conf Thu Jun 14 16:01:11 2018 (r335146) +++ head/etc/devd/devmatch.conf Thu Jun 14 16:09:29 2018 (r335147) @@ -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: Modified: head/etc/rc.d/devmatch ============================================================================== --- head/etc/rc.d/devmatch Thu Jun 14 16:01:11 2018 (r335146) +++ head/etc/rc.d/devmatch Thu Jun 14 16:09:29 2018 (r335147) @@ -33,6 +33,7 @@ name="devmatch" desc="Use devmatch(8) to load kernel modules" +rcvar="${name}_enable" start_cmd="${name}_start" stop_cmd=':' _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"