Date: Tue, 11 Nov 2008 14:42:10 -0500 (EST) From: Stuart Barkley <stuartb@4gh.net> To: Geoff Sweet <geoff.sweet@x10.com> Cc: freebsd-stable@freebsd.org Subject: Re: /usr/local/etc/rc.d getting run twice Message-ID: <alpine.BSF.2.00.0811111438420.1859@freeman.4gh.net> In-Reply-To: <1226429104.8047.5.camel@gsweet-laptop> References: <1226429104.8047.5.camel@gsweet-laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Nov 2008 at 13:45 -0000, Geoff Sweet wrote: > Greetings, I have new freshly installed servers of FreeBSD 6.3. We > started our migration before 6.4 was released. Anyway we have some > custom tools that we have built startup scripts for and placed them > into /usr/local/etc/rc.d. However the problem is that these tools get > called twice to startup. Thus leaving us with two instances of the > tools running. You probably need the following line added to /etc/rc.conf: local_startup="/usr/local/etc/rc.d" The defaults in /etc/defaults/rc.conf still try to run startup scripts in /usr/local/etc/rc.d and /usr/X11R6/etc/rc.d, however these are probably the same location via a /usr/X11R6 link. One of the X ports attempts to add this, but I've seen cases where it doesn't get added. Stuart -- I've never been lost; I was once bewildered for three days, but never lost! -- Daniel Boone
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0811111438420.1859>