3
0
Fork 0
forked from mirrors/nixpkgs

Mingetty: Default to `ttyS0' for ARM devices.

svn path=/nixos/trunk/; revision=25717
This commit is contained in:
Ludovic Courtès 2011-01-29 23:06:57 +00:00
parent 7edc419f65
commit ebb8f55a10

View file

@ -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.
'';