From owner-svn-src-head@freebsd.org Thu Jun 14 16:09:30 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84EFD1010689; Thu, 14 Jun 2018 16:09:30 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 394BE71D70; Thu, 14 Jun 2018 16:09:30 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1A54129EE; Thu, 14 Jun 2018 16:09:30 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5EG9TA4057316; Thu, 14 Jun 2018 16:09:29 GMT (envelope-from kevans@FreeBSD.org) Received: (from kevans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5EG9Tpj057315; Thu, 14 Jun 2018 16:09:29 GMT (envelope-from kevans@FreeBSD.org) Message-Id: <201806141609.w5EG9Tpj057315@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevans set sender to kevans@FreeBSD.org using -f From: Kyle Evans Date: Thu, 14 Jun 2018 16:09:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335147 - in head/etc: devd rc.d X-SVN-Group: head X-SVN-Commit-Author: kevans X-SVN-Commit-Paths: in head/etc: devd rc.d X-SVN-Commit-Revision: 335147 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 16:09:30 -0000 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=':'