about summary refs log tree commit diff
path: root/modules/services/ttys
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2013-06-14 17:51:59 +0200
committeraszlig <aszlig@redmoonstudios.org>2013-06-14 17:55:37 +0200
commit2fa7f63bd07eb4ae8f3d63f5c432f5cd09f4f093 (patch)
tree277336fc5645d5bfecfc5aa004ef07522cf2fb47 /modules/services/ttys
parent82de6feba6bb4381a523fcfa041058ce6126b20f (diff)
downloadnixlib-2fa7f63bd07eb4ae8f3d63f5c432f5cd09f4f093.tar
nixlib-2fa7f63bd07eb4ae8f3d63f5c432f5cd09f4f093.tar.gz
nixlib-2fa7f63bd07eb4ae8f3d63f5c432f5cd09f4f093.tar.bz2
nixlib-2fa7f63bd07eb4ae8f3d63f5c432f5cd09f4f093.tar.lz
nixlib-2fa7f63bd07eb4ae8f3d63f5c432f5cd09f4f093.tar.xz
nixlib-2fa7f63bd07eb4ae8f3d63f5c432f5cd09f4f093.tar.zst
nixlib-2fa7f63bd07eb4ae8f3d63f5c432f5cd09f4f093.zip
agetty: Add 57600 to the baud rate list.
This is because it's quite commonly used in the wild. Especially at some "weird"
server hosters (no names here) which doesn't allow to change the baudrate for
their serial consoles.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/services/ttys')
-rw-r--r--modules/services/ttys/agetty.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/ttys/agetty.nix b/modules/services/ttys/agetty.nix
index f269de6fc2a0..850f558e4cb7 100644
--- a/modules/services/ttys/agetty.nix
+++ b/modules/services/ttys/agetty.nix
@@ -93,7 +93,7 @@ with pkgs.lib;
         [Service]
         Environment=TERM=linux
         Environment=LOCALE_ARCHIVE=/run/current-system/sw/lib/locale/locale-archive
-        ExecStart=@${pkgs.utillinux}/sbin/agetty agetty --login-program ${pkgs.shadow}/bin/login %I 115200,38400,9600
+        ExecStart=@${pkgs.utillinux}/sbin/agetty agetty --login-program ${pkgs.shadow}/bin/login %I 115200,57600,38400,9600
         Type=idle
         Restart=always
         RestartSec=0