From owner-freebsd-questions Tue Jul 3 12:24:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.cult.cu (mail.cult.cu [169.158.120.2]) by hub.freebsd.org (Postfix) with ESMTP id 5F20637B403 for ; Tue, 3 Jul 2001 12:23:56 -0700 (PDT) (envelope-from admin@atenas.cult.cu) Received: from mail by mail.cult.cu with local-bsmtp (Exim 3.03 #2) id 15HVm1-000Lse-00 for freebsd-questions@freebsd.org; Tue, 03 Jul 2001 15:23:49 -0400 Received: from [169.158.120.178] (helo=mail.atenas.cult.cu) by mail.cult.cu with esmtp (Exim 3.03 #2) id 15HVlt-000Lro-00 for freebsd-questions@freebsd.org; Tue, 03 Jul 2001 15:23:41 -0400 Received: from mail.atenas.cult.cu ([169.158.120.179] helo=proxy.atenas.cult.cu) by mail.atenas.cult.cu with smtp (Exim 3.22 #2) id 15HVnT-0000PL-00 for freebsd-questions@FreeBSD.org; Tue, 03 Jul 2001 15:25:19 -0400 From: Manolo Valdes To: freebsd-questions@FreeBSD.org Subject: Re: Starting a daemon at boot Date: Tue, 3 Jul 2001 15:19:51 -0400 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain; charset="iso-8859-1" References: <20010703182457.C6553@acadia.ne.mediaone.net> <20010703183901.D6553@acadia.ne.mediaone.net> In-Reply-To: <20010703183901.D6553@acadia.ne.mediaone.net> MIME-Version: 1.0 Message-Id: <01070315230800.00387@proxy.atenas.cult.cu> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG see the /etc/rc script and you find all you need to know. all the scripts in /usr/local/etc/rc.d most be *.sh or the /etc/rc script wont execute it manolito On Tue, 03 Jul 2001, you wrote: > Thanks all. I guess that was a little too obvious for me. Now that I > think about it, it makes sense that the system would not bother to > start some things if /usr/local became unavailable. > > I'll get the hang of this OS yet :) > > Thanks again > Lou > > On 07/03/01 06:24 PM, Louis LeBlanc sat at the `puter and typed: > > Hey all. Quick question. > > I have a daemon that I want started when FreeBSD comes up. On Linux, > > I would either put a control script in /etc/rc.d/init.d/ and link it > > to the /etc/rc.d/rc#.d/ directories to control when it comes up in > > relation to the other startup steps. > > > > What is the *correct* way to do this in FreeBSD? > > > > TIA > > Lou > > -- > > Louis LeBlanc > > Fully Funded Hobbyist, KeySlapper Extrordinaire :) > > leblanc@acadia.ne.mediaone.net > > http://acadia.ne.mediaone.net ԿԬ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > Louis LeBlanc > Fully Funded Hobbyist, KeySlapper Extrordinaire :) > leblanc@acadia.ne.mediaone.net > http://acadia.ne.mediaone.net ԿԬ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message