script to be executed on system startup.
Alex Zbyslaw
xfb52 at dial.pipex.com
Wed Feb 6 17:22:59 UTC 2008
Wojciech Puchar wrote:
>>
>> No, don't add anything to rc.local.
>
>
> no because of?
The manual page.
> The rc.local script contains com-
> mands which are pertinent only to a specific site. Typically, the
> /usr/local/etc/rc.d/ mechanism is used instead of rc.local these
> days but
> if you want to use rc.local, it is still supported. In this case, it
> should source /etc/rc.conf and contain additional custom startup
> code for
> your system. The best way to handle rc.local, however, is to
> separate it
> out into rc.d/ style scripts and place them under
> /usr/local/etc/rc.d/.
It's there for backwards compatibility and you'll be bit when it goes away.
--Alex
More information about the freebsd-questions
mailing list