mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
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}
|
|
";
|
|
}
|