Run arbitrary commands at boot time?

John Nilsson john at
Fri Mar 10 12:19:50 GMT 2006

On Thu, 2006-03-09 at 23:32 -0500, Dana Olson wrote:
> You could just make a file in /etc/rc2.d/ (or whatever your runlevel
> is, default is 2 IIRC), call it S99local, chmod +x the file, and add
> your commands to there? That's what I do... Works For Me(tm).

If I may comment.

>From a usability point of view it would be better if that 'S99local'
file already existed. (Or any other mechanism for that matter)

It should be easy to discover, both for a someone looking for it, but
also for someone just studying the boot system.

John Nilsson

More information about the ubuntu-devel mailing list