From owner-freebsd-hackers Sat Dec 24 15:02:17 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA03468 for hackers-outgoing; Sat, 24 Dec 1994 15:02:17 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id XAA03462 for ; Sat, 24 Dec 1994 23:02:15 GMT Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id AAA22947 ; Sun, 25 Dec 1994 00:02:23 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA08209; Sun, 25 Dec 94 00:02:43 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9412242302.AA08209@blaise.ibp.fr> Subject: Re: /etc/rc.shutdown (First shot) To: joerg_wunsch@uriah.sax.de Date: Sun, 25 Dec 1994 00:02:42 +0100 (MET) Cc: hackers@freebsd.org In-Reply-To: <199412242134.WAA19425@bonnie.tcd-dresden.de> from "J Wunsch" at Dec 24, 94 10:34:37 pm X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 946 Sender: hackers-owner@freebsd.org Precedence: bulk > Erm (not that i'd vote against Ollivier's changes), but innd is being > shut down cleanly for me since init sends a SIGTERM when going down. > At least, it doesn't complain at startup time about an unclean > shutdown. Yes I know :-) But I wanted to have such a scheme for a long time so it is a convenient excuse :-) 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 ? -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #0: Sun Dec 11 20:52:22 1994 roberto@keltia:/usr/src/sys/compile/KELTIA i386 ctm#223