Files
meta-mortsgna/recipes-tweaks/systemd/systemd/systemd-pam-fix-getty-unit.patch
Koen Kooi 55a05a2348 systemd: add v215+git
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-07-24 08:25:10 +02:00

36 lines
1.2 KiB
Diff

Prefer getty to agetty in console setup systemd units
Upstream-Status: Inappropriate [configuration specific]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
units/getty@.service.m4 | 2 +-
units/serial-getty@.service.m4 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: git/units/getty@.service.m4
===================================================================
--- git.orig/units/getty@.service.m4 2014-03-15 08:16:17.000000000 -0700
+++ git/units/getty@.service.m4 2014-03-15 08:21:11.007695825 -0700
@@ -27,7 +27,7 @@
[Service]
# the VT is cleared by TTYVTDisallocate
-ExecStart=-/sbin/agetty --noclear %I $TERM
+ExecStart=-/sbin/getty -L %I $TERM
Type=idle
Restart=always
RestartSec=0
Index: git/units/serial-getty@.service.m4
===================================================================
--- git.orig/units/serial-getty@.service.m4 2014-03-15 08:16:17.000000000 -0700
+++ git/units/serial-getty@.service.m4 2014-03-15 08:22:31.291697331 -0700
@@ -22,7 +22,7 @@
IgnoreOnIsolate=yes
[Service]
-ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM
+ExecStart=-/sbin/getty -L 115200 %I $TERM
Type=idle
Restart=always
RestartSec=0