blob: 5c71b399b2c078cf8685018fa8ea0f710ab041f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
If upstart (http://en.wikipedia.org/wiki/Upstart)
is the default init (PID 1) save next
--------------------------------
# ngetty
start on runlevel [2345]
stop on shutdown
respawn
exec /sbin/ngetty 1 2 3 4 5 6
--------------------------------
in /etc/init/ngetty.tmp and then type:
mv /etc/init/ngetty.tmp /etc/init/ngetty.conf
If you have running tty stop them before above "mv" with:
stop tty1
stop tty2
...
See also:
http://upstart.ubuntu.com/getting-started.html
If someone uses ngetty with upstart and has more
experience let me know.
|