Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2018 15:00:18 +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: r335763 - head/etc/devd
Message-ID:  <201806281500.w5SF0IGF050153@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Jun 28 15:00:18 2018
New Revision: 335763
URL: https://svnweb.freebsd.org/changeset/base/335763

Log:
  Fix quoting in sending the NOMATCH event to devmatch
  
  The NOMATCH event was previously quoted to protect it from shell
  expansion. However, that quoting now interferes with the quoting devd
  is doing. Quote to protect just the ?.

Modified:
  head/etc/devd/devmatch.conf

Modified: head/etc/devd/devmatch.conf
==============================================================================
--- head/etc/devd/devmatch.conf	Thu Jun 28 13:48:59 2018	(r335762)
+++ head/etc/devd/devmatch.conf	Thu Jun 28 15:00:18 2018	(r335763)
@@ -9,7 +9,7 @@
 #
 # Generic NOMATCH event
 nomatch 100 {
-	action "service devmatch quietstart '?$_'";
+	action "service devmatch quietstart '?'$_";
 };
 
 # 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?201806281500.w5SF0IGF050153>