Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2018 06:57:38 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329445 - head/etc/devd
Message-ID:  <201802170657.w1H6vcnX027812@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Feb 17 06:57:38 2018
New Revision: 329445
URL: https://svnweb.freebsd.org/changeset/base/329445

Log:
  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

Modified:
  head/etc/devd/devmatch.conf

Modified: head/etc/devd/devmatch.conf
==============================================================================
--- head/etc/devd/devmatch.conf	Sat Feb 17 06:57:34 2018	(r329444)
+++ head/etc/devd/devmatch.conf	Sat Feb 17 06:57:38 2018	(r329445)
@@ -9,7 +9,7 @@
 #
 # Generic NOMATCH event
 nomatch 100 {
-	action "service devmatch start";
+	action "service devmatch start '?$_'";
 };
 
 # Add the following to devd.conf to prevent this from running:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802170657.w1H6vcnX027812>