Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2006 12:40:56 -0700 (PDT)
From:      White Hat <pigskin_referee@yahoo.com>
To:        FreeBSD Users Questions <freebsd-questions@freebsd.org>
Subject:   RE: Making startup order static
Message-ID:  <20060910194056.92137.qmail@web34412.mail.mud.yahoo.com>
In-Reply-To: <200609101906.k8AJ6KSU011285@shadow.sixcompanies.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- "J.D. Bronson" <jbronson@wixb.com> wrote:

> how about putting them in /usr/local/etc/rc.d
> and then using a numeric to start them
> 
> 001file.sh
> 002file.sh
> 
> or create a script with just one file.sh ?

I had considered that approach. The problem is if the
program is updated it will will write a new file to
the rc.d directory. Since I sort of automate the
updating of my system, if I was not vigilante in
inspecting the rc.d directory, I could very well end
up with two scripts starting the same program. I am
not sure how that would work; however, I would assume
it would not be a good thing. Furthermore, I am not
sure if the numeric thing would really work unless I
also modified the REQUIRE: and BEFORE: settings in the
scripts(s).

I was hoping that there would be a master config file
that I could manipulate so that each script is started
in a precise order irregardless of its name.



-- 

White Hat 
pigskin_referee@yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060910194056.92137.qmail>