bin/165477: [rc] dhclient is run twice
Chris Rees
crees at FreeBSD.org
Sun Nov 18 14:50:01 UTC 2012
The following reply was made to PR bin/165477; it has been noted by GNATS.
From: Chris Rees <crees at FreeBSD.org>
To: Hiroki Sato <hrs at freebsd.org>
Cc: wblock at freebsd.org, "freebsd-rc at freebsd.org" <freebsd-rc at freebsd.org>,
"bug-followup at freebsd.org" <bug-followup at freebsd.org>
Subject: Re: bin/165477: [rc] dhclient is run twice
Date: Sun, 18 Nov 2012 14:40:00 +0000
On 17 November 2012 22:59, Hiroki Sato <hrs at freebsd.org> wrote:
>
> I think it is safe to remove the warning message when rc_quiet=YES.
> What do you think about the attached patch?
I had originally considered that, but it then makes dhclient behave
differently from other scripts; nothing else respects rc_quiet in this
fashion;
from rc.subr:
start)
if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
echo 1>&2 "${name} already running?
(pid=$rc_pid)."
return 1
fi
and
[crees at pegasus]~/workspace/ports/musicpd% sudo service musicpd quietstart
musicpd already running? (pid=83847).
Chris
More information about the freebsd-rc
mailing list