From owner-freebsd-questions@FreeBSD.ORG Fri May 9 11:59:52 2003 Return-Path: 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 E873D37B401 for ; Fri, 9 May 2003 11:59:52 -0700 (PDT) Received: from mwinf0503.wanadoo.fr (smtp4.wanadoo.fr [193.252.22.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E3ED43FA3 for ; Fri, 9 May 2003 11:59:51 -0700 (PDT) (envelope-from david@landgren.net) Received: from landgren.net (unknown [193.251.80.212]) by mwinf0503.wanadoo.fr (SMTP Server) with ESMTP id 9A2BD68000DF; Fri, 9 May 2003 20:59:39 +0200 (CEST) Message-ID: <3EBBFA92.8030600@landgren.net> Date: Fri, 09 May 2003 20:59:30 +0200 From: David Landgren Organization: Confronting the liquid universe User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jez Hancock References: <20030508.081208.-253989.0.dark_archon1@juno.com> <20030509031627.GA26108@users.munk.nu> In-Reply-To: <20030509031627.GA26108@users.munk.nu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Hudson T Clark cc: FreeBSD questions List Subject: Re: rc.conf and inetd.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 18:59:53 -0000 Jez Hancock wrote: > Hi Hudson, > > On Thu, May 08, 2003 at 08:12:08AM -0700, Hudson T Clark wrote: > >>Ok I figured out a lot from the two people that helped me out with this >>stuff. I got ssh working (I don't want telnet anymore!) I was just >>wondering I have been looking and the only two files I know of that >>control network services being started is rc.conf and inetd.conf what >>could be starting this smtp service? > > The best resource/starting place is man rc. You'll find lots of useful > info there and pointers to other manpages that cover what you need. > > In particular, network services are started from > /etc/rc.network > > Essentially the rc.network file slurps in the base defaults in > /etc/defaults/rc.conf first and then any settings you have in > /etc/rc.conf override those defaults. These settings (variables) are > then used in each of the rc files called from the 'super rc' file, > /etc/rc (one of which is /etc/rc.network). > > See also this post: > http://marc.theaimsgroup.com/?l=freebsd-questions&m=105231343528470&w=2 > regarding rc network initialization. see also /usr/local/etc/rc.d/*.sh David