From owner-freebsd-ports@FreeBSD.ORG Fri Feb 20 11:04:14 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ED9016A4E4; Fri, 20 Feb 2004 11:04:14 -0800 (PST) Received: from praetor.linc-it.com (adsl-068-157-070-217.sip.jan.bellsouth.net [68.157.70.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0363343D1F; Fri, 20 Feb 2004 11:04:14 -0800 (PST) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-19-128-146.jan.bellsouth.net [68.19.128.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by praetor.linc-it.com (Postfix) with ESMTP id 5E32A155E0; Fri, 20 Feb 2004 13:04:12 -0600 (CST) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 552C320F94; Fri, 20 Feb 2004 13:04:10 -0600 (CST) Date: Fri, 20 Feb 2004 13:04:09 -0600 From: "Matthew D. Fuller" To: ticso@cicely.de Message-ID: <20040220190409.GB83916@over-yonder.net> References: <87y8qywx47.fsf@gray.impulse.net> <49331.207.23.164.8.1077228664.squirrel@mailtest.sd73.bc.ca> <20040220135811.GM44313@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040220135811.GM44313@cicely12.cicely.de> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.6i-fullermd.2 cc: ports@freebsd.org cc: Freddie Cash cc: current@freebsd.org Subject: Re: Feature Request: /usr/local/etc/rc.conf support X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 19:04:14 -0000 On Fri, Feb 20, 2004 at 02:58:11PM +0100 I heard the voice of Bernd Walter, and lo! it spake thus: > > The nice about having this in /etc is that this is a machine directory, > while /usr/local might be shared over multiple machines. Well, that's probably overly precise enough to require customing anyway. However, it should be fairly easy for you to add hooks into a /usr/local/etc/rc.conf for it. F'r'instance, my .tcshrc (on my website) checks for both .tcshrc.`hostname -s` and .tcshrc.`hostname` (though the strings are determined differently for portability) for local settings, so I can share my $HOME across multiple machines and have different env variables and aliases without making a bunch of unreadable conditionals in the file. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"