mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
09bcf1418c
(and you get Upstart messages about the ttyN job being restarted). svn path=/nixos/branches/fix-style/; revision=14174
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}
|
|
";
|
|
}
|