From owner-freebsd-questions@FreeBSD.ORG Tue Aug 18 15:00:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BD7D1065693 for ; Tue, 18 Aug 2009 15:00:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 51D488FC59 for ; Tue, 18 Aug 2009 15:00:15 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n7IF0A3o066105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 Aug 2009 10:00:10 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n7IF09RT005389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 Aug 2009 10:00:10 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n7IF09ri005383; Tue, 18 Aug 2009 10:00:09 -0500 (CDT) (envelope-from dan) Date: Tue, 18 Aug 2009 10:00:08 -0500 From: Dan Nelson To: Artis Caune Message-ID: <20090818150008.GC77498@dan.emsphone.com> References: <9e20d71e0908180253x4a11114cxc3e2c4af8798878@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e20d71e0908180253x4a11114cxc3e2c4af8798878@mail.gmail.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Tue, 18 Aug 2009 10:00:12 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: shell power in 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: Tue, 18 Aug 2009 15:00:15 -0000 In the last episode (Aug 18), Artis Caune said: > Is there any reason of not using shell variables in rc.conf? > I want to tune rc.conf for easy editing and administration. Take for > example jail_list or cloned_interfaces with 10+ entries: Remember that every startup script sources rc.conf, sometimes very early or late in the startup/shutdown sequence, so just make sure you don't echo anything to stdout/stderr or try to run commands that might be on filesystems that aren't mounted yet, and you should be fine. -- Dan Nelson dnelson@allantgroup.com