From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 15:52:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E990E16A4CE for ; Wed, 24 Dec 2003 15:52:12 -0800 (PST) Received: from mta8.adelphia.net (mta8.adelphia.net [68.168.78.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A694843D2D for ; Wed, 24 Dec 2003 15:52:11 -0800 (PST) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([67.20.101.103]) by mta13.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031224233511.TPMQ18777.mta13.adelphia.net@barbish>; Wed, 24 Dec 2003 18:35:11 -0500 From: "fbsd_user" To: "gffds fsdff" , Date: Wed, 24 Dec 2003 18:35:10 -0500 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.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: The Booting Process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2003 23:52:13 -0000 Yes there is just such a place Your launch script should look like this. File name some-name.sh #!/bin/sh exec /usr/servers/bots/zDSBot3/zDSBot3 & put it in /usr/local/etc/rc.d/ The permission on this script file must be read, write, exec for owner root. Chmod 700 /usr/local/etc/rc.d/some-name.sh During the boot process after rc.conf gets executed then any file in /usr/local/etc/rc.d/ that ends with .sh gets executed. That's where dhcp, apache and all other ports get launched from at boot time. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of gffds fsdff Sent: Wednesday, December 24, 2003 6:25 PM To: questions@FreeBSD.org Subject: The Booting Process Is there a way, when booting, to have an application launch? Ex: exec /usr/servers/bots/zDSBot3/zDSBot3 & Where would I add this line, if possible? If not, would it be possible to be made in the next version? Thanks, - A Guy _________________________________________________________________ Expand your wine savvy - and get some great new recipes - at MSN Wine. http://wine.msn.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"