Date: Sun, 18 Nov 2012 14:40:00 +0000 From: Chris Rees <crees@FreeBSD.org> To: Hiroki Sato <hrs@freebsd.org> Cc: "freebsd-rc@freebsd.org" <freebsd-rc@freebsd.org>, wblock@freebsd.org, "bug-followup@freebsd.org" <bug-followup@freebsd.org> Subject: Re: bin/165477: [rc] dhclient is run twice Message-ID: <CADLo83-aCxHvsPs9Fjax8JrERTEh0o9mwikb-rRWm3ZkwxfZ2Q@mail.gmail.com> In-Reply-To: <20121118.075956.2090347175828215059.hrs@allbsd.org> References: <201211021111.qA2BBHEi008211@freefall.freebsd.org> <20121118.075956.2090347175828215059.hrs@allbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17 November 2012 22:59, Hiroki Sato <hrs@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@pegasus]~/workspace/ports/musicpd% sudo service musicpd quietstart musicpd already running? (pid=83847). Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-aCxHvsPs9Fjax8JrERTEh0o9mwikb-rRWm3ZkwxfZ2Q>