rc.conf and starting scripts

RW rwmaillists at googlemail.com
Sun Mar 1 19:54:08 PST 2009

On Sun, 1 Mar 2009 19:14:17 -0800 (PST)
gahn <ipfreak at yahoo.com> wrote:

> Hi all:
> I have some starting scripts under some other directories other
> than /etc/rc.d. How could I utilize the rc.conf file to start them
> when the system boots up?
> The default location for rc.conf is /etc/rc.d only and the knob
> "local_startup=/usr/local/etc/rc.d" doesn't seem to be working for me
> for some reasons

/usr/local/etc/rc.d is the default for local scripts, that's where
package put their scripts, but there are some rules.

- they should either be proper RCNG scripts or they should end in a .sh

- local RCNG scripts are ignored if they order themselves before the
  early-late divider.

More information about the freebsd-questions mailing list