From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 07:11:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DE0D37B401 for ; Wed, 11 Jun 2003 07:11:41 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C031F43FD7 for ; Wed, 11 Jun 2003 07:11:40 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h5BEAGOg018508; Wed, 11 Jun 2003 10:10:16 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h5BEAFak018507; Wed, 11 Jun 2003 10:10:15 -0400 (EDT) From: Jerry McAllister Message-Id: <200306111410.h5BEAFak018507@clunix.cl.msu.edu> To: on@cs.ait.ac.th (Olivier Nicole) Date: Wed, 11 Jun 2003 10:10:15 -0400 (EDT) In-Reply-To: <200306110406.LAA07174@banyan.cs.ait.ac.th> from "Olivier Nicole" at Jun 11, 2003 11:06:06 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: chaudharyanurag@hotmail.com cc: freebsd-questions@freebsd.org Subject: Re: adding script to the startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 14:11:41 -0000 > > > how can I add my script to the startup programs > > is it /etc/rc file to edit or some other. > > You could for example add it to /etc/rc.local No. Don't edit /etc/rc.local to run startup scripts. You should learn about using /usr/local/etc/rc.d Put a startup script in there with a '.sh' ending on the name and it will run at boot/startup time. It is all described in man and other documentation. ////jerry > > Create it if it does not exist. > > Olivier > _______________________________________________