I'd like to add custom startup commands (for example starting a process, registering to a registration server, downloading a configuration file) to the Linux startup process. Those commands should be triggered on startup only. What is the standard/appropriate way to do this?
EDIT: Is /etc/profile the right place to trigger such things?
EDIT2: I'm using Ubuntu.

/etc/profileis for starting a new terminal session; it has nothing to do with booting. – chrisaycock Jan 11 '11 at 16:21