local/rc.d/* executed twice

Kurt Jaeger lists at c0mplx.org
Sat Jun 2 21:20:56 UTC 2007


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 at c0mplx.org           +49 171 3101372                        13 years to go !


More information about the freebsd-stable mailing list