From owner-freebsd-questions Wed May 10 1:43:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 6905B37B581 for ; Wed, 10 May 2000 01:43:37 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Wed, 10 May 2000 09:43:29 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id JAA20599; Wed, 10 May 2000 09:43:28 +0100 (BST) Date: Wed, 10 May 2000 09:43:28 +0100 (BST) From: Jan Grant To: questions@freebsd.org Subject: Startup/shutdown scripts. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It's nice to see BSD has the capabilty to break startup scripts into per-task files these days (it's been around for a while now, I think). However, /etc/rc.shutdown is still a monolithic script. One of the nice things about a traditional sysV system is the use of S* and K* scripts to handle shutdown tasks. It's pretty trivial to modify /etc/rc.shutdown to launch any shutdown scripts in a given set of directories; I was wondering if there's a chance to get this change into FreeBSD permanently..? jan PS. Rationale: I've got a number of things (database stuff) which I need to be able to guarantee a clean shutdown of. I find per-task shutdown scripts to be an organisational godsend. -- 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 Strive to live every day as though it was last Wednesday. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message