Date: Wed, 20 Jun 2012 05:19:51 -0500 (CDT) From: Robert Bonomi <bonomi@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* Message-ID: <201206201019.q5KAJpVP026516@mail.r-bonomi.com> In-Reply-To: <alpine.BSF.2.00.1206201049450.23394@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <wojtek@wojtek.tensor.gdynia.pl> > To: Matthew Seaman <matthew@freebsd.org> > 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'.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206201019.q5KAJpVP026516>