Startup Items

Since I keep forgetting how to create startup items in , here's a sample:

sudo -s
ditto /System/Library/StartupItems/Apache /Library/StartupItems/Whatever
mv /Library/StartupItems/Whatever/Apache /Library/StartupItems/Whatever/Whatever
defaults write /Library/StartupItems/Whatever/StartupParameters Provides -array "Whatever"
# mangle the rest of the scripts to your liking
echo "WHATEVER=-YES-" >> /etc/hostconfig