From owner-freebsd-questions Tue Apr 14 04:04:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA16965 for freebsd-questions-outgoing; Tue, 14 Apr 1998 04:04:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from zerium.newmedia.no (root@[194.234.251.162]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA16604 for ; Tue, 14 Apr 1998 11:02:29 GMT (envelope-from hanspb@persbraten.vgs.no) Received: from localhost (hanspbie@localhost) by zerium.newmedia.no (8.8.8/8.8.8) with SMTP id MAA08003; Tue, 14 Apr 1998 12:54:55 +0200 (CEST) (envelope-from hanspb@persbraten.vgs.no) X-Authentication-Warning: zerium.newmedia.no: hanspbie owned process doing -bs Date: Tue, 14 Apr 1998 12:54:55 +0200 (CEST) From: Hans Petter Bieker X-Sender: hanspbie@zerium.newmedia.no To: Ruslan Ermilov cc: freebsd-questions@FreeBSD.ORG Subject: Re: /etc/rc.local vs. /usr/local/etc/rc.d vs. ??? In-Reply-To: <19980414121628.09869@ucb.crimea.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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