From owner-freebsd-questions@FreeBSD.ORG Sat Mar 18 21:31:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3627516A422 for ; Sat, 18 Mar 2006 21:31:19 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from mail.stovebolt.com (mail.stovebolt.com [66.221.101.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE7CD43D46 for ; Sat, 18 Mar 2006 21:31:18 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from [192.168.2.101] (adsl-66-142-191-85.dsl.rcsntx.swbell.net [66.142.191.85]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.stovebolt.com (Postfix) with ESMTP id EE27C114307 for ; Sat, 18 Mar 2006 15:28:50 -0600 (CST) Date: Sat, 18 Mar 2006 15:30:10 -0600 From: Paul Schmehl To: Free BSD Message-ID: <086BC067104EE9D636C3F94E@Paul-Schmehls-Computer.local> In-Reply-To: <1142715349.9273.22.camel@localhost.localdomain> References: <441C702B.2070202@chrismaness.com> <441C710F.6010704@aeternal.net> <1142715349.9273.22.camel@localhost.localdomain> X-Mailer: Mulberry/4.0.0 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Best Way to Start an App at Boot Time? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 21:31:19 -0000 --On March 18, 2006 8:55:49 PM +0000 robert wrote: > > rc.local is not normally used with later versions of Freebsd - see man > rc.local. > > The script should tell you how to use it, but normally it should be > added to /usr/local/etc/rc.d and called from /etc/rc.conf with something > like denyhosts="YES". > Please note that it would be denyhosts_enable="YES" As long as there isn't anything special about the binary, a "standard" rc script will work fine. You can look in your own /usr/local/etc/rc.d directory for examples, copy one and change the names to fit your program. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/