From owner-freebsd-questions Tue May 11 3: 5:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pasha.anand.org (pasha.anand.org [199.103.176.41]) by hub.freebsd.org (Postfix) with SMTP id 3660415958 for ; Tue, 11 May 1999 03:05:03 -0700 (PDT) (envelope-from arb@anand.org) Received: (qmail 1154 invoked by uid 1001); 11 May 1999 10:04:55 -0000 Date: Tue, 11 May 1999 13:04:55 +0300 From: Anand Buddhdev To: freebsd-questions@freebsd.org Subject: running programs on shutdown Message-ID: <19990511130455.G542@africaonline.co.ke> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Organisation: Africa Online Ltd, P O Box 63017, Nairobi, Kenya X-Phone: +254-2-243775 X-WWW-Homepage: http://www.anand.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there any way to run certain scripts on system shutdown? I'm using FreeBSD 3.1R. I'm asking because I need some programs on my machine to be terminated in a specific order. What exactly does FreeBSD do at shutdown? does it first send a TERM signal to all processes, followed by a KILL signal, like linux? Is syslog the last to die? This is also important, otherwise programs that exit after syslog may not be able to record last minute activity before shutting down. Any ideas/help will be appreciated. -- System Administrator See complete headers for address, homepage and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message