From 72fc1aafe2596cb6b6e6eb4d4eafd1fef14f5bea Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Fri, 20 Jan 2012 10:31:27 +0000 Subject: [PATCH] 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@qq.com> --- etc/rc.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.subr b/etc/rc.subr index 08342a084931..0da7c07a4083 100644 --- a/etc/rc.subr +++ b/etc/rc.subr @@ -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