Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 1998 11:12:41 -0600
From:      Kris Kirby <kris@airnet.net>
To:        Greg Lehey <grog@lemis.com>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Shutdown not running rc.shutdown
Message-ID:  <36754709.3B1D7F04@airnet.net>
References:  <199812121700.MAA06046@laker.net> <19981213121232.F483@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kirbyk@email.uah.edu> UAH CS <kkirby@cs.uah.edu>
Home     <kris@airnet.net>      WWW <nomurphy@hotmail.com>
-------------------------------------------
TGIFreeBSD... 'Nuff said.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36754709.3B1D7F04>