Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2007 22:38:22 +0200
From:      Thomas Flaig <t.gf@freenet.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: local/rc.d/* executed twice
Message-ID:  <200706022238.23245.t.gf@freenet.de>
In-Reply-To: <200706021940.l52JetK8064362@multi.usr.ch>

index | next in thread | previous in thread | raw e-mail

Hello,
Am Samstag, 2. Juni 2007 schrieb Stefan Hauser:
> after upgrading 3 machines, i noticed that /usr/local/etc/rc.d/*
> scipts get exectued twice.
> does anyone have a fix for it ?
Add
local_startup="/usr/local/etc/rc.d"
to your /etc/rc.conf.
After the upgrade to x.org-7.2 /usr/X11R6 is a symlink to /usr/local. 
The default-value of local_startup is set in /etc/defaults/rc.conf to 
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d"

Therefore all scripts will be executed twice if you don't change the 
defaults.

Maybe an addition to the hint in /usr/ports/UPDATING would be good.

HTH
thomas
-- 
If you are not for yourself, who will be for you?
If you are for yourself, then what are you?
If not now, when?



home | help

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