From owner-freebsd-questions Tue Apr 14 04:23:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA21507 for freebsd-questions-outgoing; Tue, 14 Apr 1998 04:23:42 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA21438 for ; Tue, 14 Apr 1998 11:22:56 GMT (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id OAA18306; Tue, 14 Apr 1998 14:22:37 +0300 (EEST) (envelope-from ru) Message-ID: <19980414142237.55131@ucb.crimea.ua> Date: Tue, 14 Apr 1998 14:22:37 +0300 From: Ruslan Ermilov To: freebsd-questions@FreeBSD.ORG Subject: Re: /etc/rc.local vs. /usr/local/etc/rc.d vs. ??? Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <19980414121628.09869@ucb.crimea.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from Hans Petter Bieker on Tue, Apr 14, 1998 at 12:54:55PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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