Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Robert Bonomi
> From: Wojciech Puchar > > >> But still - do you know why it is necessary? > > > > An explanation written some 80 years ago; > > 'Because that way it will work'. > if you don't have anything to say - just don't do it. practice what you preach. ___ fre

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread RW
On Wed, 20 Jun 2012 08:02:48 -0400 Jerry wrote: > On Wed, 20 Jun 2012 12:47:29 +0100 > RW articulated: > > > On Wed, 20 Jun 2012 09:45:07 +0100 > > Matthew Seaman wrote: > > > > > #!/bin/sh > > > # > > > # Persuade vboxheadless to start before samba. > > > > > > # PROVIDE: precedence > > > # RE

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Matthew Seaman
On 20/06/2012 12:47, RW wrote: > On Wed, 20 Jun 2012 09:45:07 +0100 > Matthew Seaman wrote: > >> #!/bin/sh >> # >> # Persuade vboxheadless to start before samba. >> >> # PROVIDE: precedence >> # REQUIRE: vboxheadless >> # BEFORE: samba >> >> : >> >> Make it executable. Note -- the ':' does seem t

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Damien Fleuriot
On 6/20/12 11:09 AM, Matthew Seaman wrote: > On 20/06/2012 09:51, Wojciech Puchar wrote: >>> >>> 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 >>> # REQU

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Jerry
On Wed, 20 Jun 2012 12:47:29 +0100 RW articulated: > On Wed, 20 Jun 2012 09:45:07 +0100 > Matthew Seaman wrote: > > > #!/bin/sh > > # > > # Persuade vboxheadless to start before samba. > > > > # PROVIDE: precedence > > # REQUIRE: vboxheadless > > # BEFORE: samba > > > > : > > > > Make it execu

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Wojciech Puchar
But still - do you know why it is necessary? An explanation written some 80 years ago; 'Because that way it will work'. if you don't have anything to say - just don't do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mail

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread RW
On Wed, 20 Jun 2012 09:45:07 +0100 Matthew Seaman wrote: > #!/bin/sh > # > # Persuade vboxheadless to start before samba. > > # PROVIDE: precedence > # REQUIRE: vboxheadless > # BEFORE: samba > > : > > Make it executable. Note -- the ':' does seem to be necessary. Why? None of the dummy scrip

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Robert Bonomi
> From owner-freebsd-questi...@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/* >

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Wojciech Puchar
#!/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 i

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Jerry
On Wed, 20 Jun 2012 10:51:04 +0200 (CEST) Wojciech Puchar articulated: > > 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 > > #

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Matthew Seaman
On 20/06/2012 09:51, Wojciech Puchar wrote: >> >> 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 i

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Wojciech Puchar
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 wi

Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Matthew Seaman
On 20/06/2012 09:24, Wojciech Puchar wrote: > i have samba server and few virtualbox sessions using vboxnet which is > started by /usr/local/etc/rc.d/vboxheadless > > i want samba to be started AFTER vboxheadless as the latter configures > vboxnet0 automatically when started, and samba do bind to

seems i cannot fully understand {/,/usr/local/}/etc/rc.d/*

2012-06-20 Thread Wojciech Puchar
i have samba server and few virtualbox sessions using vboxnet which is started by /usr/local/etc/rc.d/vboxheadless i want samba to be started AFTER vboxheadless as the latter configures vboxnet0 automatically when started, and samba do bind to vboxnet0. so i appended vboxheadless to REQUIRE: