Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2007 22:22:12 +0200
From:      Kurt Jaeger <lists@c0mplx.org>
To:        Stefan Hauser <etienne@usr.ch>
Cc:        stable@freebsd.org
Subject:   Re: local/rc.d/* executed twice
Message-ID:  <20070602202212.GA13981@home.c0mplx.org>
In-Reply-To: <200706021940.l52JetK8064362@multi.usr.ch>
References:  <200706021940.l52JetK8064362@multi.usr.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> after upgrading 3 machines, i noticed that /usr/local/etc/rc.d/* scipts get
> exectued twice. 
> does anyone have a fix for it ? 

The reason is:

/etc/defaults/rc.conf contains

local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.

To fix it, add a line to /etc/rc.conf:

local_startup="/usr/local/etc/rc.d"

This overrides the default value and will solve the problem.

-- 
pi@c0mplx.org           +49 171 3101372                        13 years to go !



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