From owner-freebsd-questions@FreeBSD.ORG Wed May 2 00:36:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E83B916A403 for ; Wed, 2 May 2007 00:36:39 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id BD22813C43E for ; Wed, 2 May 2007 00:36:39 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 8736A5197B for ; Tue, 1 May 2007 20:36:38 -0400 (EDT) Date: Wed, 2 May 2007 01:36:35 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070502013635.635143b9@gumby.homeunix.com.> In-Reply-To: <46365B43.6080409@adventuras.no> References: <46365B43.6080409@adventuras.no> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.11; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: "BSDstats: Minor Update to Port ..." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 00:36:40 -0000 On Mon, 30 Apr 2007 23:10:27 +0200 Lars Kristiansen wrote: > Marc G. Fournier skrev: > > I've just made a slight change to the port so that it adds a > > bsdstats.sh script to /usr/local/etc/rc.d that can be enabled > > in /etc/rc.conf so that it runs on system reboot ... > > > > The script that prompts you to enable will auto-enable boottime > > reporting if you enable monthly reporting as well ... > > It adds half a minute or so to startup-time. > > So I changed the line: > run_rc_command "$1" > to: > run_rc_command "$1" & > > To force it to background. > Is this correct action in rc-scripts? A much better solution is to install sysutils/anacron instead; fix the problem, not the symptom.