Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 09:38:33 -0500 (EST)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        bill@wiliweld.com (Bill Schoolcraft)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: hosts.allow ?
Message-ID:  <200603201438.k2KEcXM4021508@clunix.cl.msu.edu>
In-Reply-To: <Pine.LNX.4.61.0603191911290.4430@liam.billschoolcraft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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."
> 
> 
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603201438.k2KEcXM4021508>