blob: 28939eb021cba78c02265f9f20dc1d78259b69e7 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From e5f405aba347d216e7f2b73d7dd681b13be442e3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 20 Feb 2015 05:29:15 +0000
4Subject: [PATCH 02/36] units: Prefer getty to agetty in console setup systemd
5 units
6
7Upstream-Status: Inappropriate [configuration specific]
8
9Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 units/getty@.service.m4 | 2 +-
13 units/serial-getty@.service.m4 | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
17index 46164ab..bdf6ec8 100644
18--- a/units/getty@.service.m4
19+++ b/units/getty@.service.m4
20@@ -27,7 +27,7 @@ ConditionPathExists=/dev/tty0
21
22 [Service]
23 # the VT is cleared by TTYVTDisallocate
24-ExecStart=-/sbin/agetty --noclear %I $TERM
25+ExecStart=-/sbin/getty -L %I $TERM
26 Type=idle
27 Restart=always
28 RestartSec=0
29diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
30index 4522d0d..e6d499d 100644
31--- a/units/serial-getty@.service.m4
32+++ b/units/serial-getty@.service.m4
33@@ -22,7 +22,7 @@ Before=getty.target
34 IgnoreOnIsolate=yes
35
36 [Service]
37-ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM
38+ExecStart=-/sbin/getty -L 115200 %I $TERM
39 Type=idle
40 Restart=always
41 UtmpIdentifier=%I
42--
431.8.3.1
44