From owner-freebsd-hackers Sat Dec 24 22:59:15 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id WAA06316 for hackers-outgoing; Sat, 24 Dec 1994 22:59:15 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id GAA06310 for ; Sun, 25 Dec 1994 06:59:12 GMT Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA29622 (5.67a/IDA-1.5); Sun, 25 Dec 1994 00:40:22 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA27351; 25 Dec 94 00:19:32 CST (Sun) Received: from localhost (localhost [127.0.0.1]) by bonkers.taronga.com (8.6.8/8.6.6) with SMTP id AAA27348; Sun, 25 Dec 1994 00:19:31 -0600 Message-Id: <199412250619.AAA27348@bonkers.taronga.com> X-Authentication-Warning: bonkers.taronga.com: Host localhost didn't use HELO protocol To: roberto@blaise.ibp.fr (Ollivier ROBERT) Cc: joerg_wunsch@uriah.sax.de, hackers@freebsd.org Subject: Re: /etc/rc.shutdown (First shot) In-Reply-To: Your message of "Sun, 25 Dec 94 00:02:42 +0100." <9412242302.AA08209@blaise.ibp.fr> X-Mailer: exmh version 1.4.1 7/21/94 Date: Sun, 25 Dec 1994 00:19:29 -0600 From: Peter da Silva Sender: hackers-owner@freebsd.org Precedence: bulk > 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".