||Start Me Up: Writing and Understanding OS X StartupItems|
|Subject:||/Library/StartupItems and Fink's init.sh|
printenv > somelogfile.log shows that the startup items are run in a minimalistic environment -- after rc.common is loaded, only PATH, SHLVL, and _ are defined! The problem is, this means that the if [ -z "$FOO" ] etc. clauses in fink's init.sh will fail when variable FOO isn't already defined, and so using apache2 or popfile (which I have configured to use BerkeleyDB from fink) means starting them by hand.
Hear us Roar