From owner-freebsd-rc@FreeBSD.ORG Wed Jul 14 11:07:31 2004 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 997D916A4CE; Wed, 14 Jul 2004 11:07:31 +0000 (GMT) Received: from fillmore.dyndns.org (port-212-202-50-15.dynamic.qsc.de [212.202.50.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FB7243D2D; Wed, 14 Jul 2004 11:07:31 +0000 (GMT) (envelope-from eikemeier@fillmore-labs.com) Received: from dhcp-5.local ([172.16.0.5] helo=dhcp-14.local) by fillmore.dyndns.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34 (FreeBSD)) id 1Bkhbj-00069d-7f; Wed, 14 Jul 2004 13:07:30 +0200 Date: Wed, 14 Jul 2004 13:08:13 +0200 Mime-Version: 1.0 (Apple Message framework v482) Message-Id: <19240580-D586-11D8-A6C6-00039312D914@fillmore-labs.com> In-Reply-To: <20040713140354.GA1695@rogue.acs-et.com> Content-Type: text/plain; charset=US-ASCII; format=flowed From: Oliver Eikemeier Content-Transfer-Encoding: 7bit To: Mike Makonnen User-Agent: KMail/1.5.9 cc: ports@FreeBSD.org cc: freebsd-rc@freebsd.org Subject: Re: localpkg script changes X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ports@FreeBSD.org List-Id: Discussion related to /etc/rc.d design and implementation. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 11:07:31 -0000 Mike Makonnen wrote: > Hi folks, > > I was looking at integrating ports rc.d scripts a bit better, and the > following is > what I came up with. I would appreciate reviews, tests, etc.. [...] > Ports related rc.d cleanups: > [...] > o The rc.d ports scripts should now behave more like base system > scripts. > Scripts ending in .sh will be sourced into the current shell, while > the > rest will be executed in a subshell. Previously, all ports scripts, > regardless of the .sh suffix, were executed in a subshell. You can't do this, since it might break too many ports. See PR 56736 for an alternate approach. Follow-up to ports@, where this discussion belongs to. See for the original message. -Oliver