Subject: Re: /usr/pkg/etc/rc.d/*
To: Michael G. Schabert <mikeride@mac.com>
From: Martin Husemann <martin@duskware.de>
List: current-users
Date: 03/16/2003 11:37:35
On Sun, Mar 16, 2003 at 05:14:22AM -0500, Michael G. Schabert wrote:
> In other words, if we
> did things as they have been suggested (moving the scripts to
> /etc/rc.d and using /etc/rc.conf), and /usr were unmounted when rc
> was running, no packages would be started since the binaries aren't
> there.
No.
The order of the scripts is determined first, for this steps all scripts
and their REQUIRE/BEFORE/whatever keywords need to be present.
Then scripts are run in the calculated sequence order.
Somewhere in this sequence /usr becomes available. All scripts having binaries
in /usr have to have proper REQUIRE: mountcrit{local,remote} flags.
Martin