From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 14:39:23 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 059E437B401 for ; Mon, 31 Mar 2003 14:39:23 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-122.pit.adelphia.net [24.53.161.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2501043F93 for ; Mon, 31 Mar 2003 14:39:22 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h2VMdKJP008320; Mon, 31 Mar 2003 17:39:21 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E88BA37.9040700@potentialtech.com> Date: Mon, 31 Mar 2003 16:59:19 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030301 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Konrad Scorciapino References: <200303311929.34216.fallenbr@uol.com.br> In-Reply-To: <200303311929.34216.fallenbr@uol.com.br> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: starting MySQL-server at boot time 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: Mon, 31 Mar 2003 22:39:27 -0000 Konrad Scorciapino wrote: > Hi, > > After installing mysql-server: > * This port has installed the following startup scripts which may cause > * these network services to be started at boot time. > * /usr/local/etc/rc.d/mysql-server.sh > > But how can I make the system run this script or anything else at boot time? Reboot the system. Any file in /usr/local/etc/rc.d with execute permissions that ends in .sh will be executed with the single parameter 'start' on bootup. -- Bill Moran Potential Technologies http://www.potentialtech.com