Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 1994 00:19:29 -0600
From:      Peter da Silva <peter@bonkers.taronga.com>
To:        roberto@blaise.ibp.fr (Ollivier ROBERT)
Cc:        joerg_wunsch@uriah.sax.de, hackers@freebsd.org
Subject:   Re: /etc/rc.shutdown (First shot) 
Message-ID:  <199412250619.AAA27348@bonkers.taronga.com>
In-Reply-To: Your message of "Sun, 25 Dec 94 00:02:42 %2B0100." <9412242302.AA08209@blaise.ibp.fr> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Anyway, what I did is not sufficient. I tested it on my -current system and
> it works fine if you use shutdown to go single user or Ctrl-Alt-Del. When
> one use reboot or halt it is not enough because init doesn't go in the
> wanted state (hmm is that clear ?). I'll probably have to modify
> reboot and/or halt too. Maybe I should put the changes in shutdown instead
> of init... Anyone has got any ides about that ?

OSF/1 has almost the same problem. They "fix" it by documenting it.

The real fix is to modify "reboot" and "halt" to send the right signal to
"init" and put the shutdown logic in there. That might be more effort than you
want to do but it *is* the "right thing".



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