inittab replacement?

Asked by MG55 on 2006-10-05

Is there in upstart something similar to /etc/inittab? In particular, I want to use more TTYs than default (6) and I don't know where to configure this setting.

Question information

Language:
English Edit question
Status:
Solved
For:
upstart Edit question
Assignee:
Scott James Remnant (Canonical) Edit question
Last query:
2006-10-05
Last reply:
2006-10-06

The /etc/event.d directory is the upstart equivalent, each file in there describes a job that upstart should manage.

You'll find that there are files that cause getty to be respawned, usually these are just named ttyN (where N is 1-6). Copy one of them to a new name (ttyS0/tty9/etc.), edit the file, and change the arguments to getty to match.

To start it, run "start ttyN" (changing N)

mistrow (u4ket) said : #2

   hello, first sossy for my bad english..
i'm trying to turn off virtual console n. 2-3-4-5; but i'm not able to do!

i've tried to rename file /etc/event.d/tty2 in another name but console n.2 run the same. so for the others.

sam tygier (samtygier) said : #3

To turn off unneeded gettys should we delete the tty2, tty3 etc files?

Götz Christ (g-christ) said : #4

I think you can do it with "sudo dpkg-reconfigure console-setup"