From owner-freebsd-stable Thu Nov 9 23:51:30 2000 Delivered-To: freebsd-stable@freebsd.org Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [194.77.233.242]) by hub.freebsd.org (Postfix) with ESMTP id C1F6037B479 for ; Thu, 9 Nov 2000 23:51:27 -0800 (PST) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.9.3/8.9.3) id IAA91508; Fri, 10 Nov 2000 08:51:08 +0100 (CET) (envelope-from ry93) From: "Patrick M. Hausen" Message-Id: <200011100751.IAA91508@hugo10.ka.punkt.de> Subject: Re: What about rc.shutdown.local? In-Reply-To: <3A0AAB5E.C6B1C53@uli.it> from Jimmy Olgeni at "Nov 9, 2000 02:49:18 pm" To: olgeni@uli.it (Jimmy Olgeni) Date: Fri, 10 Nov 2000 08:51:08 +0100 (CET) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all! Jimmy wrote: > It would be nice to have a /etc/rc.shutdown.local called by > /etc/rc.shutdown, > to implement custom shutdown procedures. This is currently done by > editing > rc.shutdown, but you have to remember about it when you run mergemaster. Doesn't rc.shutdown call /usr/local/etc/rc.d/*.sh with a "stop" argument? Put your custom shutdown procedures there. rc.local is deprecated. HTH, Patrick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message