From owner-freebsd-questions@FreeBSD.ORG Wed Jun 20 10:19:38 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 9F0C0106564A for ; Wed, 20 Jun 2012 10:19:38 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 450E28FC14 for ; Wed, 20 Jun 2012 10:19:38 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q5KAJpVP026516 for freebsd-questions@freebsd.org; Wed, 20 Jun 2012 05:19:51 -0500 (CDT) Date: Wed, 20 Jun 2012 05:19:51 -0500 (CDT) From: Robert Bonomi Message-Id: <201206201019.q5KAJpVP026516@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: 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:19:38 -0000 > From owner-freebsd-questions@freebsd.org Wed Jun 20 03:51:43 2012 > Date: Wed, 20 Jun 2012 10:51:04 +0200 (CEST) > From: Wojciech Puchar > To: Matthew Seaman > Cc: freebsd-questions@freebsd.org > Subject: Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* > > > > > 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? An explanation written some 80 years ago; 'Because that way it will work'.