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:

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

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

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 it executable. Note -- the

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 # BEFORE: samba

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

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 woj...@wojtek.tensor.gdynia.pl To: Matthew Seaman matt...@freebsd.org Cc: freebsd-questions@freebsd.org Subject: Re: seems i cannot fully understand {/,/usr

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 scripts in the

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

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 executable. Note -- the ':'

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 # REQUIRE: vboxheadless # BEFORE:

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

2012-06-20 Thread Robert Bonomi
From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl 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.