From owner-freebsd-questions Sun Dec 17 17:42:48 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 17:42:46 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from cae88-102-101.sc.rr.com (cae88-102-101.sc.rr.com [24.88.102.101]) by hub.freebsd.org (Postfix) with ESMTP id 6716737B400 for ; Sun, 17 Dec 2000 17:42:45 -0800 (PST) Received: (from dmaddox@localhost) by cae88-102-101.sc.rr.com (8.11.1/8.11.1) id eBI1aYo15575; Sun, 17 Dec 2000 20:36:34 -0500 (EST) (envelope-from dmaddox) Date: Sun, 17 Dec 2000 20:36:34 -0500 From: "Donald J . Maddox" To: Moses Backman III Cc: Drew Tomlinson , FreeBSD Questions Subject: Re: How to Get Program to Start Automatically Upon Boot Message-ID: <20001217203634.A15545@cae88-102-101.sc.rr.com> Reply-To: dmaddox@sc.rr.com Mail-Followup-To: Moses Backman III , Drew Tomlinson , FreeBSD Questions References: <20001217202040.C674@cg22413-a.adubn1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001217202040.C674@cg22413-a.adubn1.nj.home.com>; from penguinjedi@home.com on Sun, Dec 17, 2000 at 08:20:40PM +0000 Return-Receipt-To: dmaddox@sc.rr.com Sender: dmaddox@cae88-102-101.sc.rr.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Dec 17, 2000 at 08:20:40PM +0000, Moses Backman III wrote: > > On 2000.12.18 01:17:02 +0000 Drew Tomlinson wrote: > > I have added a program to my system and would like it to start > > automatically upon boot. I'm sure it's as simple as adding the program > > name to some startup script but I don't know where that would be. So > > what file do I need to modify? > > > > Thanks for your help! > > > > Drew > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > add to /etc/rc before the exit 0 line You should NOT edit /etc/rc. You can create an /etc/rc.local to run your program at boot, but there may be a better solution still, depending on exactly what you are trying to start. What are you trying to do, exactly? What program do you want to start? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message