From owner-freebsd-questions@FreeBSD.ORG Sun May 23 14:58:15 2004 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 B631F16A4CE for ; Sun, 23 May 2004 14:58:15 -0700 (PDT) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84E0C43D41 for ; Sun, 23 May 2004 14:58:15 -0700 (PDT) (envelope-from gerard-seibert@rcn.com) Received: from 207-237-110-41.c3-0.crm-ubr4.crm.ny.cable.rcn.com ([207.237.110.41] helo=localhost) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BS0yl-0006gG-00 for freebsd-questions@freebsd.org; Sun, 23 May 2004 17:57:59 -0400 Date: Sun, 23 May 2004 17:58:06 -0400 (Eastern Standard Time) From: Gerard Seibert To: freebsd-questions Message-ID: X-X-Sender: beerstud@spamcop.net@mail.cesmail.net MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Proper way to start a program at log-on X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 21:58:15 -0000 Since I am still new to this OS, I thought that I would check to make sure that I am doing this correctly. On my WinXP machine, I run the Distributed Net 'dnetc' program. Further information regarding this program is available here: http://www.distributed.net//docs/tutor_clients.php. To start the program in the background I need to issue the following command: 'dnetc -quiet'. Since I want to start this program automatically each time I log on, I placed that command at the end of my '.bash_profile' file. I then placed the shutdown command 'dnetc -shutdown' in the '/etc/rc.shutdown' file. Since everything seems to be workings correctly, I assume that I have done this correctly. If there is a better way to do this, I would appreciate receiving the information. Thanks! Gerard E. Seibert gerard-seibert@rcn.com