Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2008 11:36:53 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Paul Halliday <paul.halliday@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: rc: not working as expected? (round 2)
Message-ID:  <48EF7695.5070407@FreeBSD.org>
In-Reply-To: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com>
References:  <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Halliday wrote:
> (I mistakenly sent the last msg before finishing..)
> 
> Or maybe an interpretation issue.
> 
> I have a few startup scripts in rc.d and I am experiencing timing
> issues. i.e. I need xyz to start before abc.
> 
> Within xyz I tried:
> 
> # REQUIRE: abc
> 
> This didn't work so I tried:
> 
> 100.xyz
> 900.abc
> 
> which doesn't appear to work either.
> 
> What am I missing?
> 
> Thanks.

Hi Paul,

You may be using "REQUIRE: abc" in one script, but have you placed a
corresponding "PROVIDE: abc" in another script?

I also use rcorder to print the order in which my rc.d scripts will be
loaded:
http://www.freebsd.org/cgi/man.cgi?query=rcorder&sourceid=opensearch.
Check /etc/rc to see how rcorder is invoked at various times during bootup.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/       - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI73aV0sRouByUApARApUrAJ0VYBe6StWNPIFw6GUGphDQ+yjoywCbB0hF
+BUsLASWGkL7PDVnP56vpTY=
=idyk
-----END PGP SIGNATURE-----




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