Subject: Re: starting packes on boot
To: Geert Hendrickx <geert.hendrickx@ua.ac.be>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 01/17/2005 14:03:58
On Mon, 17 Jan 2005, Geert Hendrickx wrote:
> Of what use is squid's rc.d script on a filesystem within reach before
> /usr/pkg gets mounted? :-)
Have a look at the script. It starts with:
# PROVIDE: squid
# REQUIRE: DAEMON
# KEYWORD: shutdown
rcorder(8) uses these lines to figure out the dependency ordering.
/etc/rc.d/DAEMON requires NETWORKING SERVERS.
And /etc/rc.d/SERVERS requires mountcritremote.
/etc/rc.d/mountcritremote requires NETWORKING root mountcritlocal.
Anyways, the filesystems get mounted by the time "squid" script is ran.
Pretty cool :)
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/