From owner-freebsd-hackers Fri Nov 10 8:58: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 0DBC537B479 for ; Fri, 10 Nov 2000 08:57:58 -0800 (PST) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Fri, 10 Nov 2000 16:57:40 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 13uHUJ-0005l1-00; Fri, 10 Nov 2000 16:57:15 +0000 Date: Fri, 10 Nov 2000 16:57:15 +0000 (GMT) From: Jan Grant To: Christoph Sold Cc: Jimmy Olgeni , hackers@FreeBSD.ORG Subject: Re: What about rc.shutdown.local? In-Reply-To: <3A0ABFB7.B269FAFD@i-clue.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 9 Nov 2000, Christoph Sold wrote: > Better still would be /usr/local/etc/rc.d/*.sh called automatically > with parameter stop. To do so, insert This is all nice (BTDT) although I find the *.sh pattern quite annoying, due to the alphabetisation issue. When I make these mods I tend to use the SysV-style S* and K* patterns - that means you get to control the order of startup _and_ shutdown (which might need a different sequence). jan PS. Yeah, an all-singing, all-dancing subsystem mechanism would make all of this moot, but this method is cheap and simple, and already here. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Bolstered by my success with vi, I proceeded to learn C with 'learn c'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message