Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 2015 00:35:15 +0100
From:      Dirk Engling <erdgeist@erdgeist.org>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        freebsd-rc@FreeBSD.org
Subject:   Re: etc/rc.subr rc_pid for start_cmd
Message-ID:  <563944B3.5030604@erdgeist.org>
In-Reply-To: <20151103231310.GA70094@stack.nl>
References:  <563933AB.5090407@erdgeist.org> <20151103231310.GA70094@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

> The original idea was to skip the "already running" checks while booting
> the system since they are quite slow, and to perform them when a manual
> service FOO start is done.

Isn't this what the -z "$rc_fast" is for?

>> if  [ $rc_arg = "start" -a -z "$rc_fast" -a -n "$rc_pid" ]; then
>>   if [ -z "$rc_quiet" ]; then

  erdgeist



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