mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
578b56d3c6
$PATH). * Use the login from pam_login instead of shadowutils. svn path=/nixos/trunk/; revision=7302
10 lines
241 B
Nix
10 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}
|
|
";
|
|
}
|