From owner-freebsd-questions Sat Jan 27 9:56:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from speedbuggy.telerama.com (speedbuggy.telerama.com [205.201.1.216]) by hub.freebsd.org (Postfix) with SMTP id ADC3937B401 for ; Sat, 27 Jan 2001 09:56:05 -0800 (PST) Received: (qmail 10293 invoked from network); 27 Jan 2001 17:56:03 -0000 Received: from d6-04.dyn.telerama.com (HELO telerama.com) (205.201.41.132) by speedbuggy.telerama.com with SMTP; 27 Jan 2001 17:56:03 -0000 Received: from localhost (cwaiken@localhost) by telerama.com (8.11.1/8.11.1) with ESMTP id f0RHvBs05249; Sat, 27 Jan 2001 12:57:11 -0500 (EST) (envelope-from cwaiken@telerama.com) Date: Sat, 27 Jan 2001 12:57:10 -0500 (EST) From: "Christopher W. Aiken" X-Sender: cwaiken@bigdaddy.localdomain To: "Raymundo M. Vega" Cc: younhee , questions@FreeBSD.ORG Subject: Re: Can I modify the order of starting deamon on the FreeBSD In-Reply-To: <3A730540.9A38513D@home.com> 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 On Sat, 27 Jan 2001, Raymundo M. Vega wrote: ->younhee wrote: ->> ->> Hello.. ->> I ask a question again.. ->> I began to study FreeBSD. ->> I want to know how OS read the shell script or file in the /usr/local/etc/rc.d/ on the booting because I want to change the order of starting deamon.. ->> please, help me.. please.. -> ->What is executed are files with extension *.sh under ->/usr/local/etc/rc.d, but, if you need a specific order ->I think you must change the names to delete the extension ->.sh and make your own shell script executing the other ->shell scripts in the order you want or use rc.local for ->this purpose. Keep in mind that you may need a delay between ->daemons to make sure one is running before the next is ->started. -> ->buena suerte -> ->raymundo Take a look in /etc/periodic/daily and you will see that by adding a number to the front of your script names you can choose the sequence that you want by numeric order. -- Christopher W. Aiken, Scenery Hill, Pa, USA chris at cwaiken dot com, www.cwaiken.com Debian GNU/Linux 2.2_r2 & FreeBSD 4.2 RELEASE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message