mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
56da3e7887
svn path=/nixos/trunk/; revision=7575
10 lines
237 B
Nix
10 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}
|
|
";
|
|
}
|