Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2003 04:16:27 +0100
From:      Jez Hancock <jez.hancock@munk.nu>
To:        Hudson T Clark <dark_archon1@juno.com>
Cc:        FreeBSD questions List <freebsd-questions@freebsd.org>
Subject:   Re: rc.conf and inetd.conf
Message-ID:  <20030509031627.GA26108@users.munk.nu>
In-Reply-To: <20030508.081208.-253989.0.dark_archon1@juno.com>
References:  <20030508.081208.-253989.0.dark_archon1@juno.com>

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

Best Regards,
Jez



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