From owner-freebsd-questions@FreeBSD.ORG Wed Jun 20 10:10:09 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 06A1F1065679; Wed, 20 Jun 2012 10:10:09 +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 6C26A8FC22; Wed, 20 Jun 2012 10:10:08 +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 q5KAA866023793; Wed, 20 Jun 2012 12:10:08 +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 q5KAA8HM023790; Wed, 20 Jun 2012 12:10:08 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 20 Jun 2012 12:10:08 +0200 (CEST) From: Wojciech Puchar To: Matthew Seaman In-Reply-To: <4FE1935C.60902@FreeBSD.org> Message-ID: References: <4FE18D93.4060809@FreeBSD.org> <4FE1935C.60902@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 12:10:08 +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 10:10:09 -0000 >>> #!/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? >> > > Yes, that should work too. However any time you update vboxheadless > you'll have to remember to add that modification back to the rc script. > Using a separate file stops that being a problem. now i understood completely. thank you