From owner-freebsd-ports  Fri Jan 18  6:24:12 2002
Delivered-To: freebsd-ports@freebsd.org
Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158])
	by hub.freebsd.org (Postfix) with ESMTP id EA37D37B478
	for <ports@freebsd.org>; Fri, 18 Jan 2002 06:23:36 -0800 (PST)
Received: from wocker (lists.unixathome.org [210.48.103.158])
	by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g0IENOD57163;
	Sat, 19 Jan 2002 03:23:25 +1300 (NZDT)
	(envelope-from dan@lists.unixathome.org)
Message-Id: <200201181423.g0IENOD57163@lists.unixathome.org>
From: "Dan Langille" <dan@langille.org>
Organization: DVL Software Limited
To: knu@idaemons.org
Date: Fri, 18 Jan 2002 09:23:22 -0500
MIME-Version: 1.0
Subject: sysutils/portupgrade startup scripts needs start/stop options
Reply-To: dan@langille.org
Cc: ports@freebsd.org
X-mailer: Pegasus Mail for Windows (v4.01)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-ports.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-ports>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-ports>
X-Loop: FreeBSD.org

sysutils/portupgrade installs /usr/local/etc/rc.d/000.pkgtools.sh by 
default.  This script should have a start/stop option to avoid warnings 
during shutdown etc.

$ less /usr/local/etc/rc.d/000.pkgtools.sh
#!/bin/sh
#
# $Idaemons: /home/cvs/pkgtools/etc/pkgtools.sh,v 1.3 2001/11/02 10:38:04 
knu Exp $

if [ -d /usr/local/lib/compat/pkg ]; then
    /sbin/ldconfig -m /usr/local/lib/compat/pkg
fi
-- 
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message