dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


LinuxNewbie.org: Where Do I Put Startup Commands In Debian?

Feb 13, 2001, 16:26 (2 Talkback[s])
(Other stories by Craig McPherson)

WEBINAR:
On-Demand

Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame


[ Thanks to Sensei for this link. ]

"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."

Complete Story

Related Stories: