Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 100e50604efc4032001a2de6a6b47853c0003817 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 20 Feb 2015 05:29:15 +0000 |
| 4 | Subject: [PATCH 01/11] units: Prefer getty to agetty in console setup systemd |
| 5 | units |
| 6 | |
| 7 | Upstream-Status: Inappropriate [configuration specific] |
| 8 | |
| 9 | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> |
| 10 | Signed-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 | |
| 16 | diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 |
| 17 | index 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 |
| 29 | diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 |
| 30 | index 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 | -- |
| 43 | 2.1.4 |
| 44 | |