Author: dougb
Date: Tue Feb 14 10:19:58 2012
New Revision: 231659
URL: http://svn.freebsd.org/changeset/base/231659

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

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

Modified: stable/7/etc/rc.subr
==============================================================================
--- stable/7/etc/rc.subr        Tue Feb 14 10:19:27 2012        (r231658)
+++ stable/7/etc/rc.subr        Tue Feb 14 10:19:58 2012        (r231659)
@@ -654,7 +654,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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to