From owner-freebsd-questions@FreeBSD.ORG Fri Jun 1 03:12:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 127E816A46B for ; Fri, 1 Jun 2007 03:12:35 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id B0CE313C45B for ; Fri, 1 Jun 2007 03:12:34 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 15121 invoked from network); 1 Jun 2007 13:12:34 +1000 Received: from 203-214-138-113.perm.iinet.net.au (HELO localhost) (203.214.138.113) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 1 Jun 2007 13:12:34 +1000 Date: Fri, 1 Jun 2007 13:12:30 +1000 From: Norberto Meijome To: gmoniey Message-ID: <20070601131230.380039e8@localhost> In-Reply-To: <10902043.post@talk.nabble.com> References: <10902043.post@talk.nabble.com> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: startup / shutdown script (rc.d) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 03:12:35 -0000 On Thu, 31 May 2007 14:06:45 -0700 (PDT) gmoniey wrote: > I was wondering if there is a simple way to create 1 script that will be > called during startup and shutdown. Basically, I am looking for something > like this: the easiest way (for me) is to grab the rc script of anything that you know well (for example, apache) and modify it for your needs. anyway, at least you can learn from the one that is already made, without having to start from scratch. B _________________________ {Beto|Norberto|Numard} Meijome "People demand freedom of speech to make up for the freedom of thought which they avoid. " Soren Aabye Kierkegaard I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.