2012-03-23 16:49:52 +01:00
|
|
|
Prefer getty to agetty in console setup systemd units
|
|
|
|
|
|
|
|
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
2014-02-07 14:21:34 +01:00
|
|
|
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
2012-03-23 16:49:52 +01:00
|
|
|
---
|
|
|
|
|
2014-03-27 10:51:57 +01:00
|
|
|
diff -aburN systemd-212.orig/units/getty@.service.m4 systemd-212/units/getty@.service.m4
|
|
|
|
--- systemd-212.orig/units/getty@.service.m4 2014-01-28 11:08:51.000000000 +0100
|
|
|
|
+++ systemd-212/units/getty@.service.m4 2014-03-26 11:06:27.000000000 +0100
|
2014-02-07 14:21:34 +01:00
|
|
|
@@ -27,7 +27,7 @@
|
2014-03-27 10:51:57 +01:00
|
|
|
|
2012-03-23 16:49:52 +01:00
|
|
|
[Service]
|
2014-02-07 14:21:34 +01:00
|
|
|
# the VT is cleared by TTYVTDisallocate
|
2014-03-17 15:25:42 +01:00
|
|
|
-ExecStart=-/sbin/agetty --noclear %I $TERM
|
2012-03-23 16:49:52 +01:00
|
|
|
+ExecStart=-/sbin/getty -L %I 115200 vt100
|
2014-02-07 14:21:34 +01:00
|
|
|
Type=idle
|
2012-03-23 16:49:52 +01:00
|
|
|
Restart=always
|
|
|
|
RestartSec=0
|
2014-03-27 10:51:57 +01:00
|
|
|
diff -aburN systemd-212.orig/units/serial-getty@.service.m4 systemd-212/units/serial-getty@.service.m4
|
|
|
|
--- systemd-212.orig/units/serial-getty@.service.m4 2014-03-13 18:47:24.000000000 +0100
|
|
|
|
+++ systemd-212/units/serial-getty@.service.m4 2014-03-26 11:07:01.000000000 +0100
|
2014-02-07 14:21:34 +01:00
|
|
|
@@ -22,7 +22,7 @@
|
|
|
|
IgnoreOnIsolate=yes
|
2014-03-27 10:51:57 +01:00
|
|
|
|
2012-03-23 16:49:52 +01:00
|
|
|
[Service]
|
2014-03-27 10:51:57 +01:00
|
|
|
-ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM
|
2012-03-23 16:49:52 +01:00
|
|
|
+ExecStart=-/sbin/getty -L %I 115200 vt100
|
2014-02-07 14:21:34 +01:00
|
|
|
Type=idle
|
2012-03-23 16:49:52 +01:00
|
|
|
Restart=always
|
|
|
|
RestartSec=0
|