rc: not working as expected? (round 2)
Greg Larkin
glarkin at FreeBSD.org
Fri Oct 10 15:36:54 UTC 2008
-----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-----
More information about the freebsd-questions
mailing list