Apple Mac Startup Scripts

applemac-osxstartup-scripts

I'm running Mac 10.6 (Snow Leopard). I would like to have a shell script that handles some routing/vpn and server tasks executed on Machine startup.

This script should be preferably executed before the user logs in but as long as it is backgrounded there are no issues with timing.

Where is the best place to call this from?

Thanks all

Best Answer

You should launchd handle that by creating a plist specifying the needed arguments etc. a short intro, Startup Scripts etc. got replaced by launchd back in Tiger.