From owner-freebsd-questions@FreeBSD.ORG Mon Mar 20 14:38:35 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 7680F16A400 for ; Mon, 20 Mar 2006 14:38:35 +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 E4ED043D49 for ; Mon, 20 Mar 2006 14:38:34 +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 k2KEcXiU021509; Mon, 20 Mar 2006 09:38:33 -0500 (EST) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id k2KEcXM4021508; Mon, 20 Mar 2006 09:38:33 -0500 (EST) From: Jerry McAllister Message-Id: <200603201438.k2KEcXM4021508@clunix.cl.msu.edu> To: bill@wiliweld.com (Bill Schoolcraft) Date: Mon, 20 Mar 2006 09:38:33 -0500 (EST) In-Reply-To: X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: 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 14:38:35 -0000 > > 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 > > ########################################### > > [root@corten8 ~]-> uname -r > 6.0-RELEASE > > [root@corten8 ~]-> /etc/rc.d/sshd restart > > ########################################### > > -- > Bill Schoolcraft | http://wiliweld.com > > "If your life was full of nothing but > sunshine, you would just be a desert." > > > >