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

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Wed Jun 20 10:10:09 UTC 2012


>>> #!/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


More information about the freebsd-questions mailing list