Init Scripts
From Exterior Memory
To make sure a daemon start under Linux, add the init script for the daemon to the apropriate runlevel. For Mac OS X, use the LaunchDaemon.
Runlevels
Get the current runlevel, use either of these:
runlevel who -r
Adjust init scripts
The daemon init scripts can be found in /etc/init.d/ or /etc/rc.d/, and there are links to either /etc/rcX.d/ or /etc/rc.d/rcX.d where X is a runlevel (0..6).
You can manually create symbolic links (S means start, K means kill). Or -easier- you can use one of these tool to change the settings:
rcconf chkconfig update-rc.d