forked from mirrors/nixpkgs
578b56d3c6
$PATH). * Use the login from pam_login instead of shadowutils. svn path=/nixos/trunk/; revision=7302
11 lines
241 B
Nix
11 lines
241 B
Nix
{mingetty, pam_login, ttyNumber}:
|
|
|
|
{
|
|
name = "tty" + toString ttyNumber;
|
|
job = "
|
|
start on startup
|
|
stop on shutdown
|
|
respawn ${mingetty}/sbin/mingetty --loginprog=${pam_login}/bin/login --noclear tty${toString ttyNumber}
|
|
";
|
|
}
|