mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 11:32:03 +00:00
56da3e7887
svn path=/nixos/trunk/; revision=7575
11 lines
237 B
Nix
11 lines
237 B
Nix
{mingetty, ttyNumber, loginProgram}:
|
|
|
|
{
|
|
name = "tty" + toString ttyNumber;
|
|
job = "
|
|
start on startup
|
|
stop on shutdown
|
|
respawn ${mingetty}/sbin/mingetty --loginprog=${loginProgram} --noclear tty${toString ttyNumber}
|
|
";
|
|
}
|