Subject: Re: Automatically starting programs...
To: None <netbsd-users@netbsd.org>
From: Richard Grace <rgrace@aapt.com.au>
List: netbsd-users
Date: 08/12/2002 14:37:16
>>> Andy Ball <ball@cyberspace.org> 12/08/2002 13:27:03 >>>

> I think I'm in with a chance for "dumb question of the week award",
> but it's something I've wondered about for a while and never
> spotted in the docs I've read.  Where would I put a command line
> that I wanted to run every time a NetBSD host is restarted?

Adding a script in /usr/pkg/etc/rc.d is the preferred method
these days, I think.  Most packages add a demo script there,
though some require variables to be defined in /etc/rc.conf.

Historically, it would have been added to /etc/rc.local

Richard.