Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 1998 12:54:55 +0200 (CEST)
From:      Hans Petter Bieker <hanspb@persbraten.vgs.no>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /etc/rc.local vs. /usr/local/etc/rc.d vs. ???
Message-ID:  <Pine.BSF.3.96.980414124555.7875C-100000@zerium.newmedia.no>
In-Reply-To: <19980414121628.09869@ucb.crimea.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Apr 1998, Ruslan Ermilov wrote:

> There is no such directory - /etc/rc.d ;-)

There is no such directory - /usr/local/etc/rc.d/{hostname}

btw1 -- /bin/mkdir is a nice tool.
btw2 -- hostname is set after local_startup in the default rc.conf --
        you'll have to reorganise/hardcode it to make it work.

> He has a couple of machines that NFS-share a single /usr/local.
> When these machines boot up, they all run staff from /usr/local/rc.d.
> It is a side effect.

I know.

> I offer the solution: to have a separate subdirectory for each machine.
> Than in /usr/local/rc.d can be placed common scripts for all machines.

Well ... _my_ /etc is uniq for each machine.

-bieker-


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980414124555.7875C-100000>