From owner-freebsd-ports@FreeBSD.ORG Wed May 26 15:58:45 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B94F116A4CE for ; Wed, 26 May 2004 15:58:45 -0700 (PDT) Received: from smtp2.netcologne.de (smtp2.netcologne.de [194.8.194.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7598A43D2D for ; Wed, 26 May 2004 15:58:45 -0700 (PDT) (envelope-from thomas@laurel.tmseck.homedns.org) Received: from laurel.tmseck.homedns.org (xdsl-213-196-220-38.netcologne.de [213.196.220.38]) by smtp2.netcologne.de (Postfix) with SMTP id A5E564316 for ; Thu, 27 May 2004 00:57:45 +0200 (MEST) Received: (qmail 1013 invoked by uid 1001); 26 May 2004 22:57:17 -0000 Date: 26 May 2004 22:57:17 -0000 Message-ID: <20040526225717.1012.qmail@laurel.tmseck.homedns.org> From: tmseck-lists@netcologne.de (Thomas-Martin Seck) To: freebsd-current@freebsd.tmseck.homedns.org, freebsd-ports@freebsd.org Organization: a private site in Germany In-Reply-To: <20040526181624.GB55179@empiric.dek.spc.org> X-Newsgroups: gmane.os.freebsd.current X-Attribution: tms Subject: Re: Where to put my own startup script (/etc/rc.local ?) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 22:58:45 -0000 * Bruce M Simpson [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.