Re: rc doesn't see my script on boot
- From: Oliver Fromme <olli@xxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 18:20:28 +0100 (CET)
Gregory Edigarov wrote:
[...]
#PROVIDE l2tpd
Be sure to get the synatx right. It must look like this:
# PROVIDE: l2tpd
The "PROVIDE" line is used to distinguish old-style scripts
from rcNG scripts. Therefore it is important that you get
the syntax of that line right, or otherwise the script will
not be recognized correctly.
That's what happened in your case: The "PROVIDE" line was
not recognized, so it was assumed to be an old-style script.
Those scripts are only executed if they are executable _and_
have a filename extension ".sh". Your script doesn't have
that extension, so it was ignored.
#REQUIRE NETWORKING
That line needs also to be fixed (space, colon).
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"If you think C++ is not overly complicated, just what is a protected
abstract virtual base pure virtual private destructor, and when was the
last time you needed one?"
-- Tom Cargil, C++ Journal
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- References:
- rc doesn't see my script on boot
- From: Gregory Edigarov
- rc doesn't see my script on boot
- Prev by Date: Re: rc doesn't see my script on boot
- Next by Date: Re: Problems unmounting/fssyncking extern UFS filesystem
- Previous by thread: Re: rc doesn't see my script on boot
- Next by thread: Re: nystagmu
- Index(es):
Relevant Pages
|
|