Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2018 13:13:56 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329455 - head/etc/devd
Message-ID:  <201802171313.w1HDDuJl022701@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Sat Feb 17 13:13:55 2018
New Revision: 329455
URL: https://svnweb.freebsd.org/changeset/base/329455

Log:
  Invoke devmatch rc.d script directly instead of depending on "service"
  which is installed in usr/sbin and might not be available at the time
  devd is started.
  
  Sponsored by:	Mellanox Technologies

Modified:
  head/etc/devd/devmatch.conf

Modified: head/etc/devd/devmatch.conf
==============================================================================
--- head/etc/devd/devmatch.conf	Sat Feb 17 12:38:46 2018	(r329454)
+++ head/etc/devd/devmatch.conf	Sat Feb 17 13:13:55 2018	(r329455)
@@ -9,7 +9,7 @@
 #
 # Generic NOMATCH event
 nomatch 100 {
-	action "service devmatch start '?$_'";
+	action "/etc/rc.d/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?201802171313.w1HDDuJl022701>