Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 03:53:24 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: rc.conf and starting scripts
Message-ID:  <20090302035324.2b4e4a09@gumby.homeunix.com>
In-Reply-To: <798008.8114.qm@web52107.mail.re2.yahoo.com>
References:  <798008.8114.qm@web52107.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Mar 2009 19:14:17 -0800 (PST)
gahn <ipfreak@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
  extension

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







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090302035324.2b4e4a09>