From owner-freebsd-stable Sun Jul 9 11:31:43 2000 Delivered-To: freebsd-stable@freebsd.org Received: from moek.pir.net (moek.pir.net [209.192.237.190]) by hub.freebsd.org (Postfix) with ESMTP id A25E237B8F0 for ; Sun, 9 Jul 2000 11:31:36 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 13BLrV-0005no-00 for freebsd-stable@FreeBSD.ORG; Sun, 09 Jul 2000 14:31:29 -0400 Date: Sun, 9 Jul 2000 14:31:29 -0400 From: Peter Radcliffe To: freebsd-stable@FreeBSD.ORG Subject: Re: HEADS UP: /etc/rc.shutdown calls local scripts now Message-ID: <20000709143129.B20852@pir.net> Reply-To: freebsd-stable@freebsd.org Mail-Followup-To: freebsd-stable@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from zingelman@fnal.gov on Sun, Jul 09, 2000 at 01:11:23PM -0500 X-fish: < X-Copy-On-Listmail: Please do NOT Cc: me on list mail. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tim Zingelman probably said: > [ -d ${dir} ] && for script in ${dir}/*.sh; do > grep -q "stop.*)" ${script} && > > Certainly not guaranteed to catch everything, but much better than > nothing IMHO. How about renaming them ? Leave the existing scripts as .sh, use a different suffix for scripts that grok start/stop ? No changes required for things that don't need to be stopped, no slowdown (since nothing is run for scripts that don't need a stop) and the things that do want stops are the only thing that have to change ? Not very clean, admittedly, but it might allow the two to operate together until all the old scripts have migrationed, if that was the aim. P. -- pir pir@pir.net pir@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message