Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 10:18:49 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r231657 - stable/9/etc
Message-ID:  <201202141018.q1EAInS4092738@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Tue Feb 14 10:18:49 2012
New Revision: 231657
URL: http://svn.freebsd.org/changeset/base/231657

Log:
  MFC r230374:
  
  If we're booting there is no need to waste time determining if the service
  is running or not.

Modified:
  stable/9/etc/rc.subr
Directory Properties:
  stable/9/etc/   (props changed)

Modified: stable/9/etc/rc.subr
==============================================================================
--- stable/9/etc/rc.subr	Tue Feb 14 10:17:30 2012	(r231656)
+++ stable/9/etc/rc.subr	Tue Feb 14 10:18:49 2012	(r231657)
@@ -683,7 +683,7 @@ run_rc_command()
 		fi
 	fi
 
-	eval $_pidcmd			# determine the pid if necessary
+	[ -z "$autoboot" ] && eval $_pidcmd	# determine the pid if necessary
 
 	for _elem in $_keywords; do
 		if [ "$_elem" != "$rc_arg" ]; then



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