From owner-freebsd-questions@FreeBSD.ORG Thu Jan 20 10:27:22 2005 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 5E91D16A4CE for ; Thu, 20 Jan 2005 10:27:22 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id D64F143D53 for ; Thu, 20 Jan 2005 10:27:21 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [IPv6???1] (localhost.daemonsecurity.com [127.0.0.1]) by top.daemonsecurity.com (Postfix) with ESMTP id 372F6FD01F; Thu, 20 Jan 2005 11:27:20 +0100 (CET) Message-ID: <41EF8781.505@locolomo.org> Date: Thu, 20 Jan 2005 11:27:13 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: Toomas Aas References: <20041202163900.GA14829@akroteq.com> <20041202210019.GA23230@lb.tenfour> <20041218134553.GA24368@akroteq.com> <41EF62E8.5020008@raad.tartu.ee> In-Reply-To: <41EF62E8.5020008@raad.tartu.ee> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Andy Firman cc: FreeBSD Questions Subject: Re: /usr/local/etc/rc.d vs /etc/rc.conf question 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: Thu, 20 Jan 2005 10:27:22 -0000 Toomas Aas wrote: > Andy Firman wrote: > >> On my 4.10 box, there is a mysql-server script in /usr/local/etc/rc.d >> and nothing >> in /etc/rc.conf, yet mysql-server starts up a boot time. >> Why? > > > Your mysql-server port was probably installed before 31.10.2004. It was > modified to use rc.conf variables at that date (see /usr/ports/UPDATING). > AFAIK 4.x will run any script in /usr/local/etc/rc.d which ends in .sh and is executable. The script may use variables stored in /etc/rc.conf but in old installations the scripts has not been updated. If you want not to start mysql-server on startup, rename the script or change permissions. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2