From owner-freebsd-stable@FreeBSD.ORG Mon Nov 27 17:26:57 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77C7016A403 for ; Mon, 27 Nov 2006 17:26:57 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id E210D43E89 for ; Mon, 27 Nov 2006 17:20:06 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (enmbcn@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id kARHKS7v047365; Mon, 27 Nov 2006 18:20:33 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id kARHKS00047364; Mon, 27 Nov 2006 18:20:28 +0100 (CET) (envelope-from olli) Date: Mon, 27 Nov 2006 18:20:28 +0100 (CET) Message-Id: <200611271720.kARHKS00047364@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, greg@bestnet.kharkov.ua In-Reply-To: <456B1158.4000107@bestnet.kharkov.ua> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 27 Nov 2006 18:20:34 +0100 (CET) Cc: Subject: Re: rc doesn't see my script on boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, greg@bestnet.kharkov.ua List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 17:26:57 -0000 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