summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-01-20 10:31:27 +0000
committerdougb <dougb@FreeBSD.org>2012-01-20 10:31:27 +0000
commit0db22183d968255ca6861d6d13e0e471be4efedc (patch)
treef7b2175176ff135461254964b2520154193c236a /etc
parent228073c1125c3e506f2a84eae0788f95927c76e4 (diff)
downloadFreeBSD-src-0db22183d968255ca6861d6d13e0e471be4efedc.zip
FreeBSD-src-0db22183d968255ca6861d6d13e0e471be4efedc.tar.gz
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>
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 08342a0..0da7c07 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
OpenPOWER on IntegriCloud