From owner-freebsd-questions@FreeBSD.ORG Fri Oct 26 08:57:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38939A63 for ; Fri, 26 Oct 2012 08:57:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E0AF08FC08 for ; Fri, 26 Oct 2012 08:57:49 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx01.qsc.de (Postfix) with ESMTP id 808093D558; Fri, 26 Oct 2012 10:57:43 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q9Q8vgAu001903; Fri, 26 Oct 2012 10:57:42 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 26 Oct 2012 10:57:42 +0200 From: Polytropon To: Trond =?ISO-8859-1?Q?Endrest=F8l?= Subject: Re: rc.conf and loader.conf Message-Id: <20121026105742.c84d7de9.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, Ashkan Rahmani X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 08:57:50 -0000 On Fri, 26 Oct 2012 07:37:09 +0200 (CEST), Trond Endrest=F8l wrote: > However, I like to keep the lines in the /etc/rc.conf file in the same=20 > order as they appear in the /etc/defaults/rc.conf file, and place=20 > local stuff (from /usr/local/etc/rc.d) in alphabetical order at the=20 > bottom of the file. Slight deviation: I tend to group settings according to their functionality (network, server stuff, console settings etc.), and also have local additions at the end of the file. However, FreeBSD also supports rc.conf.local to keep them. The rc.conf file can be seen as a shell script, containing variable assignments. It is that simple. It implies that you can arrange everything (with newlines, comments, in groups, as you wish) as long as it is valid shell syntax. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...