From owner-freebsd-questions@FreeBSD.ORG Mon Mar 20 15:15:14 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 C0A0E16A400 for ; Mon, 20 Mar 2006 15:15:14 +0000 (UTC) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45D3D43D48 for ; Mon, 20 Mar 2006 15:15:14 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id k2KFFDiU021677; Mon, 20 Mar 2006 10:15:13 -0500 (EST) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id k2KFFDat021676; Mon, 20 Mar 2006 10:15:13 -0500 (EST) From: Jerry McAllister Message-Id: <200603201515.k2KFFDat021676@clunix.cl.msu.edu> To: micahjon@ywave.com (Micah) Date: Mon, 20 Mar 2006 10:15:13 -0500 (EST) In-Reply-To: <441EC596.5040308@ywave.com> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Bill Schoolcraft , freebsd-questions@freebsd.org Subject: Re: hosts.allow ? 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: Mon, 20 Mar 2006 15:15:14 -0000 > > Jerry McAllister wrote: > >> At Sun, 19 Mar 2006 it looks like Jerry McAllister composed: > >> > >>> One doesn't start anything from the rc.conf file - at least properly. > >>> Those things get started from /usr/local/etc/rc.d. > >>> > >>> What goes in /etc/rc.conf are environmental variable settings that > >>> those rc.d scripts look at to determine what to do. > >>> > >> I was under the impression that when one 'restarts' that the > >> service will "re-read" /etc/rc.conf > > > > I am not sure just at what point the rc.conf is read or re-read. > > Try putting something in the /usr/local/etc/rc.d/xxxx.sh script to > > check for a specific environmental variable that you make up and put > > in /etc/rc.conf and then running the xxxx.sh script manually to see > > what it knows about - even just put a printenv in the script. > > > > ////jerry > > From the source it's clear that rc.conf is read when the individual rc > script executes a load_rc_config $name (or equivalent). Sounds likely. I didn't actually check where it reads it. ////jerry > > HTH, > Micah >