From owner-freebsd-current@FreeBSD.ORG Sat Jul 31 09:12:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4551616A4CE; Sat, 31 Jul 2004 09:12:55 +0000 (GMT) Received: from the-macgregors.org (82-33-59-105.cable.ubr06.stav.blueyonder.co.uk [82.33.59.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id E25C043D6E; Sat, 31 Jul 2004 09:12:53 +0000 (GMT) (envelope-from freebsd.macgregor@blueyonder.co.uk) X-Urban-Legend: Mail headers contain urban legends Received: from fire (fire.macgregor [192.168.32.100]) (authenticated bits=0) by the-macgregors.org (8.13.0/8.13.0) with ESMTP id i6V9CQVJ011571; Sat, 31 Jul 2004 09:12:26 GMT Message-Id: <200407310912.i6V9CQVJ011571@the-macgregors.org> From: "Rob MacGregor" To: Date: Sat, 31 Jul 2004 10:12:28 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <410B6274.10609@fillmore-labs.com> Thread-Index: AcR23csRU+BujlNYQHKepM3jqLt16AAAB1JA X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) cc: freebsd-rc@freebsd.org Subject: RE: RFC: Alternate patch to have true new-style rc.d scripts inports (without touching localpkg) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jul 2004 09:12:55 -0000 > -----Original Message----- > From: owner-freebsd-current@freebsd.org > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of > Oliver Eikemeier > > I don't think so. The patch is completely backwards compatible, which > means everything will run as it did before. Why should anyone be > confused by that? However, everybody who's used to disabling scripts by changing the name such that it doesn't end in .sh is going to be badly bitten by this. Suddenly all those "disabled" startup scripts will run. > As stated above: everything users did before will continue to work. Except of course, disabling scripts by renaming them :) > Besides, the patch finally unifies /etc/rc.d and > /usr/local/etc/rc.d in > the most important aspect: participating in rcorder(8). A new-style > script will do the same, no matter whether put in /etc/rc.d or > /usr/local/etc/rc.d. Which is one thing I would like to see. > > Additionally, > > if ports rc.d scripts are going to participate in the boot > rcorder(8)ing > > then they need to behave like the base system rc.d script. > > Jup, that is the purpose of this patch. Why not simply (yeah, I know, it'll be far from simple to implement) treat any .sh scripts that have the FreeBSD keyword as being new style, and others as being old style? Just my .02 worth :) -- Rob | Oh my God! They killed init! You bastards!