From owner-freebsd-questions Mon Dec 18 3:18:25 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 03:18:23 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from sr14.nsw-remote.bigpond.net.au (unknown [24.192.3.29]) by hub.freebsd.org (Postfix) with ESMTP id 34D0B37B400 for ; Mon, 18 Dec 2000 03:18:22 -0800 (PST) Received: from freebsd.freebsd.org (CPE-203-45-68-28.nsw.bigpond.net.au [203.45.68.28]) by sr14.nsw-remote.bigpond.net.au (Pro-8.9.3/8.9.3) with SMTP id WAA26293; Mon, 18 Dec 2000 22:15:25 +1100 (EDT) From: Danny To: Drew Tomlinson , "FreeBSD Questions (E-mail)" Subject: Re: How to Get Program to Start Automatically Upon Boot Date: Mon, 18 Dec 2000 22:15:43 +1100 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain References: MIME-Version: 1.0 Message-Id: <00121822170400.00339@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG - Try /usr/local/etc/rc.d/ Create a startup script liek so vi sysprogs.sh Tyep in the following #!/bin/sh /usr/local/sysprogs/bin/startsomething Exit From vi Chmod 755 sysprogs.sh On Mon, 18 Dec 2000, 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message