Skip site navigation (1)Skip section navigation (2)
Date:      26 May 2004 22:57:17 -0000
From:      tmseck-lists@netcologne.de (Thomas-Martin Seck)
To:        freebsd-current@freebsd.tmseck.homedns.org, freebsd-ports@freebsd.org
Subject:   Re: Where to put my own startup script (/etc/rc.local ?)
Message-ID:  <20040526225717.1012.qmail@laurel.tmseck.homedns.org>
In-Reply-To: <20040526181624.GB55179@empiric.dek.spc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Bruce M Simpson <bms@spc.org> [gmane.os.freebsd.current]:

[Moving this to -ports for a general discussion]

> On Tue, May 25, 2004 at 02:08:12PM -0700, Kevin Oberman wrote:
>> You can put them in /usr/local/etc/rc.d or /etc/rc.d. The former is the
>> more acceptable and should be used if the startup can be run at the end
>> of the startup.
> 
> Take a look at the net-mgmt/snmptt port I just committed. This borrows from
> the net/quagga port in the area of rc script placement - showing how to
> place it in an appropriate location depending on OSVERSION.

Why? I do not think ports should be allowed to install stuff directly to
DESTDIR instead of PREFIX (OpenLDAP might be an exception because it
might be needed very early in the boot phase). It's bad enough that
third party run scripts can live in ${X11PREFIX}/etc/rc.d and
${PREFIX}/etc/rc.d already, please don't offer them /etc/rc.d, too.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040526225717.1012.qmail>