Date: Wed, 2 May 2007 01:36:35 +0100 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-questions@freebsd.org Subject: Re: "BSDstats: Minor Update to Port ..." Message-ID: <20070502013635.635143b9@gumby.homeunix.com.> In-Reply-To: <46365B43.6080409@adventuras.no> References: <C8D2CE303BFB0CC0D415C365@ganymede.hub.org> <46365B43.6080409@adventuras.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Apr 2007 23:10:27 +0200 Lars Kristiansen <lars@adventuras.no> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070502013635.635143b9>