blob: b6ab5effc23bdb1e7261d6d2b0039f4ca9161f4b [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From 100e50604efc4032001a2de6a6b47853c0003817 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 01/11] 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--
432.1.4
44