Automatically Run Script on Boot at Runlevel 3

I want to automatically run a script once the system has entered runlevel 3 during boot (the script requires network access). I know about /etc/init.d/boot.local but it’s my understanding it’s triggered in runlevel 1. I also know about init.d scripts but they seem a little daunting. What’s the best approach?

Thanks,
Dan

See if this guide helps:

pk stuff » Example Linux chkconfig/init Script

vi /etc/init.d/after.local
chmod 744 /etc/init.d/after.local

Thanks guys. Both proved to be useful. Think I’ll go with after.local since it’s a bit simpler.

Thanks again,
Dan