Alter startup items loading order

May 22, '02 09:41:50AM

Contributed by: smkolins

I found a way to alter the startup list loading order. In both Library -> StartupItems and System -> Library -> StartupItems, each function has its own StartupItems.plist. For example:

% cd /System/Library/StartupItems
% cd Cleanup
% cat StartupParameters.plist
{
Description = "system cleanup";
Provides = ("Cleanup");
OrderPreference = "Early";
Messages =
{
start = "Cleaning up";
stop = "Cleaning up";
};
}
The OrderPreference flag controls the startup order. I've seen three entries so far: "Early", "Late", and "Last". Brickhouse uses "Last" by default. Bind appears to kick in late and npt early by default.

I wanted to switch these because npt was asking for a DNS resolution before Bind was up and running.

Comments (10)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020522094150319