From owner-freebsd-questions Mon Dec 14 09:13:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13056 for freebsd-questions-outgoing; Mon, 14 Dec 1998 09:13:07 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ninbox.ml.org (hsv1-204.airnet.net [207.242.81.204]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA13051 for ; Mon, 14 Dec 1998 09:13:04 -0800 (PST) (envelope-from kris@airnet.net) Received: from airnet.net (localhost [127.0.0.1]) by ninbox.ml.org (8.9.1/8.8.5) with ESMTP id LAA00821; Mon, 14 Dec 1998 11:12:41 -0600 (CST) Message-ID: <36754709.3B1D7F04@airnet.net> Date: Mon, 14 Dec 1998 11:12:41 -0600 From: Kris Kirby Organization: Absolutely None! X-Mailer: Mozilla 4.07 [en] (X11; U; FreeBSD 3.0-RELEASE i386) MIME-Version: 1.0 To: Greg Lehey CC: "freebsd-questions@FreeBSD.ORG" Subject: Re: Shutdown not running rc.shutdown References: <199812121700.MAA06046@laker.net> <19981213121232.F483@freebie.lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > > On Saturday, 12 December 1998 at 11:57:07 -0500, Steve Friedrich wrote: > > On Sat, 12 Dec 1998 15:19:13 +0100, Nicholas wrote: > > > >> According to the 'init' man page, on shutdown init should run the > >> rc.shutdown script and then bring down the machine. On my system > >> (FreeBSD 2.2.5-Release), it seems to bypass rc.shutdown completely. > >> Is there a way to run a script on shutdown similar to the rc.local > >> script on startup? > > > > I see the same behavior with -stable. I tried reboot and shutdown -h > > now, and in both instances, rc.shutdown was ignored. > > This appears to be a known problem. People have recently done a lot > of talking about shutting down, and this was mentioned. They've more > or less stopped now, so maybe somebody will fix it. If you enter a > PR, it will help. Funny thing is, it works if you boot single user and don't do anything besides fsck'ing and mount -a. -- Kris Kirby UAH Mail UAH CS Home WWW ------------------------------------------- TGIFreeBSD... 'Nuff said. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message