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 = {
|
services.mingetty = {
|
||||||
|
|
||||||
ttys = mkOption {
|
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 = ''
|
description = ''
|
||||||
The list of tty devices on which to start a login prompt.
|
The list of tty devices on which to start a login prompt.
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user