February 13, 2001

Where do I put startup commands in Debian?

Author: JT Smith

Sensei writes "I've seen this question pop up a whole lot lately... most recently, twice in 5 minutes by two different people on the message board.

The question is "What's the Debian equivalent of rc.local" or "Where can I put startup commands in Debian?"

Here's a quick step-by-step guide to one way to do this:

1. Execute this command to find your default runlevel:

cat /etc/inittab | grep initdefault

You should see a line like this:

id:2:initdefault:

That means [b]2[/b] is your default runleve. This may also be [b]3[/b], or
rarely 4 or 5."

Check it out here"

Category:

  • Linux
Click Here!