Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 1998 14:22:37 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /etc/rc.local vs. /usr/local/etc/rc.d vs. ???
Message-ID:  <19980414142237.55131@ucb.crimea.ua>
In-Reply-To: <Pine.BSF.3.96.980414124555.7875C-100000@zerium.newmedia.no>; from Hans Petter Bieker on Tue, Apr 14, 1998 at 12:54:55PM %2B0200
References:  <19980414121628.09869@ucb.crimea.ua> <Pine.BSF.3.96.980414124555.7875C-100000@zerium.newmedia.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 14, 1998 at 12:54:55PM +0200, Hans Petter Bieker wrote:
> 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.

I don't suggest to use /bin/hostname. I suggest to use ${hostname},
defined in /etc/rc.conf.

The line
	. /etc/rc.conf
appears before
	for dir in ${local_startup}; do
in /etc/rc.

I don't want to follow this thread anymore ;-(
It's just wasting a time.

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?19980414142237.55131>