Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 1997 01:44:32 +0400 (MSD)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        Ollivier Robert <roberto@keltia.freenix.fr>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: /etc/rc.shutdown (Was: Re: DEVFS permissions &c.)
Message-ID:  <Pine.BSF.3.96.970708014302.2953A-100000@lsd.relcom.eu.net>
In-Reply-To: <19970707225149.19828@keltia.freenix.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<ache@null.net>
http://www.nagual.pp.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970708014302.2953A-100000>