From owner-freebsd-questions@FreeBSD.ORG Wed Jun 20 08:51:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 470CE106566B; Wed, 20 Jun 2012 08:51:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id AEC708FC16; Wed, 20 Jun 2012 08:51:04 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q5K8p4OD023400; Wed, 20 Jun 2012 10:51:04 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q5K8p4Bo023397; Wed, 20 Jun 2012 10:51:04 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 20 Jun 2012 10:51:04 +0200 (CEST) From: Wojciech Puchar To: Matthew Seaman In-Reply-To: <4FE18D93.4060809@FreeBSD.org> Message-ID: References: <4FE18D93.4060809@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Wed, 20 Jun 2012 10:51:04 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 08:51:05 -0000 > > Create a new file in /usr/local/etc/rc.d/precedence with the following > contents: > > #!/bin/sh > # > # Persuade vboxheadless to start before samba. > > # PROVIDE: precedence > # REQUIRE: vboxheadless > # BEFORE: samba > > : > > Make it executable. Note -- the ':' does seem to be necessary. > thank you for help. I will test it when being on place and could reboot. But still - do you know why it is necessary? cannot i just add BEFORE: samba in vboxheadless?