From owner-freebsd-questions@FreeBSD.ORG Wed Aug 30 07:46:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6F3F16A4DF for ; Wed, 30 Aug 2006 07:46:09 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from sirian.hst.org.za (sirian.hst.org.za [209.203.2.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4789743D49 for ; Wed, 30 Aug 2006 07:46:02 +0000 (GMT) (envelope-from jonathan@hst.org.za) Received: from localhost (localhost.hst.org.za [127.0.0.1]) by sirian.hst.org.za (Postfix) with ESMTP id 1C85E31CBD9 for ; Wed, 30 Aug 2006 09:44:03 +0200 (SAST) Received: from sirian.hst.org.za ([127.0.0.1]) by localhost (sirian.hst.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17555-04 for ; Wed, 30 Aug 2006 09:44:02 +0200 (SAST) Received: by sirian.hst.org.za (Postfix, from userid 1004) id E697E31CBD2; Wed, 30 Aug 2006 09:44:02 +0200 (SAST) Received: from sysadmin.int.dbn.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) by sirian.hst.org.za (Postfix) with ESMTP id 3F39A31CB01 for ; Wed, 30 Aug 2006 09:44:02 +0200 (SAST) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Wed, 30 Aug 2006 09:45:45 +0200 User-Agent: KMail/1.7.2 References: <20060830033859.R53222@prime.gushi.org> In-Reply-To: <20060830033859.R53222@prime.gushi.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608300945.45648.jonathan@hst.org.za> X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on sirian.hst.org.za X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=7.0 tests=BAYES_00 autolearn=ham version=2.61 X-Virus-Scanned: by amavisd-new at hst.org.za Subject: Re: include format for /etc/rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 07:46:09 -0000 On Wednesday 30 August 2006 09:40, Dan Mahoney, System Admin wrote: > Hey all, > > Are there any supported formats for INCLUDES in /etc/rc.conf such that I > can drop default configs into /etc/rc.conf and then have files in a > certain directory (ala includerc) override them? Basically, I'd like to > do mass-updates of several dozen machines' configs normally found in > /etc/rc.conf, but then have per-machine configs (like hostnames) > elsewhere. Look at rc_conf_files (man rc.conf). By default there are three ``levels'' of config: /etc/defaults/rc.conf /etc/rc.conf /etc/rc.conf.local each one overriding the previous one. Jonathan