From owner-freebsd-questions Tue Jun 6 9: 4:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stargate.clickcom.com (stargate.clickcom.com [209.198.22.4]) by hub.freebsd.org (Postfix) with ESMTP id BCCFD37BF7B for ; Tue, 6 Jun 2000 09:04:02 -0700 (PDT) (envelope-from jks@clickcom.com) Received: from fishbowl (dhcp-2.clt.clickcom.com [209.198.22.66]) by stargate.clickcom.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id MC0DGHS0; Tue, 6 Jun 2000 12:00:06 -0400 From: "John Straiton" To: "Gabriel" , Subject: RE: Stupid question.... Date: Tue, 6 Jun 2000 12:00:06 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG cd /usr/local/etc/rc.d This is where you can put your startup scripts. They will get executed in numerical, then alphabetical order. something like my 120.dhcpd.sh script: #!/bin/sh /usr/local/sbin/dhcpd fxp0 -q If you compile apache out of the ports it certainly should install a 80.apache.sh for you (in my experience) that looks like: #!/bin/sh [ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start > /dev/null && echo -n ' apache' remember that if you are using ssh only on a FreeBSD version below 4.0 , to keep it as like 010.sshd.sh . If you have apache hang on startup and it's file is lower numerically/alphabetically, then your sshd won't start and you'll have an unreachable box. You probably won't have to worry about this but it's something to keep in mind. John Straiton ClickCom, Inc. jks@clickcom.com (704)365-9970x101 > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Gabriel > Sent: Tuesday, June 06, 2000 11:54 AM > To: questions@FreeBSD.ORG > Subject: Stupid question.... > > > > Ok, I feel like a lame ass, but I need to know how to get httpd and dhcpd > to load on boot up. I know in Linux there is an rc.local file, but I don't > see anything like that in FreeBSD. Help!! > > Thanks, > Gabriel > > ================================================================== > ============= > ------------------------------------------------------------------ > ------------- > Gabriel SouthWind > Internet Access, Inc. > Department Manager 120 S. Market > SouthWind Technical Support 800-525-7963 > ------------------------------------------------------------------ > ------------- > ================================================================== > ============= > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message