From owner-freebsd-questions Wed Oct 23 8:16:13 2002 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 C480937B401 for ; Wed, 23 Oct 2002 08:16:12 -0700 (PDT) Received: from rhadamanth.submonkey.net (pc1-cdif2-4-cust210.cdf.cable.ntl.com [80.4.10.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7F6243E65 for ; Wed, 23 Oct 2002 08:16:06 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.10) id 184NEr-000IkD-00; Wed, 23 Oct 2002 16:16:05 +0100 Date: Wed, 23 Oct 2002 16:16:05 +0100 From: Ceri Davies To: samuel_joy@ieee.org Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Command like chkconfig Message-ID: <20021023151605.GB71991@submonkey.net> References: <929440761.1035385828419.JavaMail.root@webmail> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <929440761.1035385828419.JavaMail.root@webmail> X-message-flag: All your linuxconf-configured redhat are belong to us. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 23, 2002 at 08:40:28PM +0530, Samuel Joy wrote: > Friend, > Is there a command like chkconfig that we use in redhat present in FreeBSD. Tell us what that does and we may be able to help. > I want to have a scrpt that is custom written by me to start automatically > when the FreeBSD server boots up. For this you can either: 1) Call it from /etc/rc.local; 2) Create a startup script in /usr/local/etc/rc.d/; 3) Add an entry to your crontab using the @reboot time specification. Ceri -- you can't see when light's so strong you can't see when light is gone To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message