Date: Thu, 20 Jan 2005 11:27:13 +0100 From: Erik Norgaard <norgaard@locolomo.org> To: Toomas Aas <toomas.aas@raad.tartu.ee> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: /usr/local/etc/rc.d vs /etc/rc.conf question Message-ID: <41EF8781.505@locolomo.org> In-Reply-To: <41EF62E8.5020008@raad.tartu.ee> References: <20041202163900.GA14829@akroteq.com> <A62E611EBDA3E55081ACC696@utd49554.utdallas.edu> <20041202210019.GA23230@lb.tenfour> <20041218134553.GA24368@akroteq.com> <41EF62E8.5020008@raad.tartu.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41EF8781.505>