From owner-freebsd-questions Mon Nov 2 22:12:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA18638 for freebsd-questions-outgoing; Mon, 2 Nov 1998 22:02:51 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from finland.ispro.net.tr (finland.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA18631 for ; Mon, 2 Nov 1998 22:02:47 -0800 (PST) (envelope-from yurtesen@ispro.net.tr) Received: from localhost (yurtesen@localhost) by finland.ispro.net.tr (8.8.8/8.8.8) with SMTP id IAA15301 for ; Tue, 3 Nov 1998 08:03:34 +0200 (EET) (envelope-from yurtesen@ispro.net.tr) Date: Tue, 3 Nov 1998 08:03:34 +0200 (EET) From: Evren Yurtesen To: questions@freebsd.org Subject: shutdown commands Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org Precedence: bulk X-Loop: FreeBSD.ORG hello, I want to change the system behaviour when I press on ctrl+alt+del I am using squid in one of my freebsd boxes and when somebody restarts it squid tries to read a log file which is very long! because it did not close right, I guess normally system closes processes with something like kill -9 ... I need to issue kill -TERM for squid and system should wait enough time for it to be able to write last changes to its log. I have looked at man init page and there it is talking about a file called /etc/rc.shutdown but I do not have that file, should I create it? or how can I change the shutdown commands? thanks +-------------------------------------------------+ | Name : Evren Yurtesen - yurtesen@ispro.net.tr | | S-mail: Talikkokatu 6B 26, 20540 Turku/FINLAND | | Home:+358-2-2379095 Work:+358-40-5185215 | +-------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message