From owner-freebsd-stable@FreeBSD.ORG Fri Jul 16 14:57:28 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14C9916A4CE for ; Fri, 16 Jul 2004 14:57:28 +0000 (GMT) Received: from lark.auton.cs.cmu.edu (LARK.AUTON.CS.CMU.EDU [128.2.222.44]) by mx1.FreeBSD.org (Postfix) with SMTP id C4DDB43D58 for ; Fri, 16 Jul 2004 14:57:27 +0000 (GMT) (envelope-from dpelleg@lark.auton.cs.cmu.edu) Sender: dpelleg@lark.auton.cs.cmu.edu To: Edwin Groothuis References: <1089981839.1957.3.camel@tdl-b3037.satyam.net.in> <20040716125946.GA1725@k7.mavetju> From: Dan Pelleg Date: 16 Jul 2004 10:56:43 -0400 In-Reply-To: <20040716125946.GA1725@k7.mavetju> Message-ID: Lines: 35 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-stable@freebsd.org cc: ananth_G Subject: Re: FreeBSD newbie Problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 14:57:28 -0000 Edwin Groothuis writes: > On Fri, Jul 16, 2004 at 06:14:00PM +0530, ananth_G wrote: > > hi all, > > im new to freeBSD. ive been using linux( mostly redhat and mandrake, and > > slackware) , lately i have moved to unix. > > i have a few things to be cleared > > > > what are the startup script files that get executed during boot? > > httpd gets started automatically in the system i work. i tired searching > > /etc/rc.conf , but i couldnt find an entry for httpd. is there any other > > startup script? > > /etc/rc.conf is the configuration file for the system. > > /usr/local/etc/rc.d is the startup-scripts directory for locally > installed ports / packages. If the port has been converted to rcNG, there should be switch for it in /etc/rc.conf. For example, here is pkg_message from the apache13 port: ===> BE CAREFULL HOW TO BOOT on 1.3.29_4 or after: To run apache www server from startup, add apache_enable="YES" in your /etc/rc.conf. For ports that are still configured in the old way, you will typically find a sample script in /usr/local/etc/rc.d, and then need to rename and/or make it executable. -- Dan Pelleg