From owner-freebsd-hackers Mon Jul 7 14:44:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA10681 for hackers-outgoing; Mon, 7 Jul 1997 14:44:50 -0700 (PDT) Received: from lsd.relcom.eu.net (lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA10660 for ; Mon, 7 Jul 1997 14:44:44 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.6/8.8.5) id BAA02978; Tue, 8 Jul 1997 01:44:33 +0400 (MSD) Date: Tue, 8 Jul 1997 01:44:32 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Ollivier Robert cc: hackers@FreeBSD.ORG Subject: Re: /etc/rc.shutdown (Was: Re: DEVFS permissions &c.) In-Reply-To: <19970707225149.19828@keltia.freenix.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 7 Jul 1997, Ollivier Robert wrote: > + /* Try to run the rc.shutdown script within a period of time */ > + rcdown = runshutdown(); > + if (rcdown) > + stall("Could not run %s, proceeding with shutdown anyway.", > + _PATH_RUNDOWN); > + > /* NB: should send a message to the session logger to avoid blocking. */ > logwtmp("~", "shutdown", ""); rhushutdown() is part of shutdown, so logwtmp() must be BEFORE runshutdown() call. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/