mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Mingetty: Default to `ttyS0' for ARM devices.
svn path=/nixos/trunk/; revision=25717
This commit is contained in:
parent
7edc419f65
commit
ebb8f55a10
@ -11,7 +11,10 @@ with pkgs.lib;
|
||||
services.mingetty = {
|
||||
|
||||
ttys = mkOption {
|
||||
default = [ "tty1" "tty2" "tty3" "tty4" "tty5" "tty6" ];
|
||||
default =
|
||||
if pkgs.stdenv.isArm
|
||||
then [ "ttyS0" ] # presumably an embedded platform such as a plug
|
||||
else [ "tty1" "tty2" "tty3" "tty4" "tty5" "tty6" ];
|
||||
description = ''
|
||||
The list of tty devices on which to start a login prompt.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user