rcNG issue

John Brooks john at day-light.com
Mon Jul 18 18:50:11 GMT 2005


> On Jul 18, 2005, at 11:58 AM, Kövesdán Gábor wrote:
>
> > Hello,
> >
> > I have a problem with my rcNG scripts. There are three scripts:
> > named.sh, apache2.sh and proftpd.sh. Apache and ProFTPd require
> > hostname resolving thus named should start firstly.
> >
>
> Where do these scripts live?  Are they in /usr/local/etc/rc.d?
>
> If so, they run in lexographic order.  The rc ordering stuff does not
> apply to /usr/local/etc/rc.d
>
> Chad
>

An easy fix is to rename these scripts with a numeric prefix in the
order you want them to execute.
  100.named.sh
  200.apache2.sh
  300.proftpd.sh

John



More information about the freebsd-questions mailing list