From owner-freebsd-stable Sun Mar 11 9:16:40 2001 Delivered-To: freebsd-stable@freebsd.org Received: from news.IAEhv.nl (news.iae.nl [212.61.26.37]) by hub.freebsd.org (Postfix) with ESMTP id 494DA37B719 for ; Sun, 11 Mar 2001 09:16:37 -0800 (PST) (envelope-from Arjan.deVet@adv.iae.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id SAA12990 for stable@freebsd.org; Sun, 11 Mar 2001 18:16:36 +0100 (MET) Received: by adv.devet.org (Postfix, from userid 100) id 976D25064; Sun, 11 Mar 2001 18:16:28 +0100 (CET) Date: Sun, 11 Mar 2001 18:16:28 +0100 To: stable@freebsd.org Subject: Why does rc.shutdown not call '/usr/local/etc/rc.d/*.sh stop'? Message-ID: <20010311181628.A456@adv.devet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: Arjan.deVet@adv.iae.nl (Arjan de Vet) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG While doing a mergemaster run I came across a local modification I use on my -stable system for some time now: --- rc.shutdown Sun Mar 11 17:50:42 2001 +++ /etc/rc.shutdown Wed Feb 21 21:04:31 2001 @@ -74,10 +74,9 @@ if [ -x "${script}" ]; then grep -wq stop "${script}" || \ oldscripts="${oldscripts} ${script}" -# XXX not yet -# (set -T -# trap 'exit 1' 2 -# ${script} stop) + (set -T + trap 'exit 1' 2 + ${script} stop) fi done fi What's the reason that -stable still has that 'XXX not yet' here? Arjan -- Arjan de Vet, Eindhoven, The Netherlands URL: http://www.iae.nl/users/devet/ for PGP key: finger devet@iae.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message