From owner-freebsd-current@FreeBSD.ORG Thu Jun 2 21:10:26 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3529116A420 for ; Thu, 2 Jun 2005 21:10:26 +0000 (GMT) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADD6B43D4C for ; Thu, 2 Jun 2005 21:10:25 +0000 (GMT) (envelope-from jr@opal.com) Received: from linwhf.opal.com (112.79.171.66.subscriber.vzavenue.net [66.171.79.112]) by smtp.vzavenue.net (MOS 3.4.8-GR) with ESMTP id CID21074; Thu, 2 Jun 2005 17:10:23 -0400 (EDT) Received: from ASSP-nospam (localhost [127.0.0.1]) by linwhf.opal.com (8.13.3/8.13.3) with ESMTP id j52LAN8O002376 for ; Thu, 2 Jun 2005 17:10:23 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam ; 2 Jun 05 21:10:23 -0000 Received: (from jr@localhost) by linwhf.opal.com (8.13.3/8.13.3/Submit) id j52LANF2002371 for freebsd-current@freebsd.org; Thu, 2 Jun 2005 17:10:23 -0400 (EDT) (envelope-from jr) Date: Thu, 2 Jun 2005 17:10:23 -0400 From: "J.R. Oldroyd" To: freebsd-current@freebsd.org Message-ID: <20050602211023.GE886@linwhf.opal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Junkmail-Status: score=0/50, host=smtp.vzavenue.net Subject: Use of rcorder for local rc.d/*.sh scripts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 21:10:26 -0000 Is there a reason that rcorder is not used in /etc/rc.d/localpkg so that the scripts there can be ordered using their tags? If not, could we make the following change to /etc/rc.d/localpkg: --- localpkg.orig Fri Oct 8 13:52:43 2004 +++ localpkg Thu Jun 2 16:53:56 2005 @@ -36,7 +36,7 @@ done script_save_sep="$IFS" IFS="${script_name_sep}" - for script in ${slist}; do + for script in `rcorder -s nostart ${slist} 2>/dev/null`; do if [ -x "${script}" ]; then (set -T trap 'exit 1' 2 If we do, there may be some scripts that ports install in the local/etc/rc.d dirs that need rcorder tags adding, notably those that currently use "000.foo.sh" names to ensure they're started first. -jr