d98f482739
(and you get Upstart messages about the ttyN job being restarted). svn path=/nixos/trunk/; revision=13931
11 lines
234 B
Nix
11 lines
234 B
Nix
{mingetty, ttyNumber, loginProgram}:
|
|
|
|
{
|
|
name = "tty" + toString ttyNumber;
|
|
job = "
|
|
start on udev
|
|
stop on shutdown
|
|
respawn ${mingetty}/sbin/mingetty --loginprog=${loginProgram} --noclear tty${toString ttyNumber}
|
|
";
|
|
}
|