svn commit: r230374 - head/etc

Doug Barton dougb at FreeBSD.org
Fri Jan 20 10:31:28 UTC 2012


Author: dougb
Date: Fri Jan 20 10:31:27 2012
New Revision: 230374
URL: http://svn.freebsd.org/changeset/base/230374

Log:
  If we're booting there is no need to waste time determining if the service
  is running or not.
  
  PR:		conf/150752
  Submitted by:	YIN Xiaofeng <75394094 at qq.com>

Modified:
  head/etc/rc.subr

Modified: head/etc/rc.subr
==============================================================================
--- head/etc/rc.subr	Fri Jan 20 10:06:28 2012	(r230373)
+++ head/etc/rc.subr	Fri Jan 20 10:31:27 2012	(r230374)
@@ -641,7 +641,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


More information about the svn-src-head mailing list