[systemd-commits] units/getty at .service.m4
Michal Schmidt
michich at kemper.freedesktop.org
Wed Jun 6 02:37:50 PDT 2012
units/getty at .service.m4 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3305d6806d428010b1cd2abd716aa1bb7f81311f
Author: Michal Schmidt <mschmidt at redhat.com>
Date: Wed Jun 6 11:26:30 2012 +0200
units: avoid redundant VT clearing by agetty
TTYVTDisallocate=yes already clears the VT. agetty does not need to do
it again. Run it with --noclear.
Felix Miata found the double clearing confusing in this bugreport:
https://bugzilla.redhat.com/show_bug.cgi?id=828007
Add a comment explaining what clears the VT.
diff --git a/units/getty at .service.m4 b/units/getty at .service.m4
index 6d45836..fcf1de1 100644
--- a/units/getty at .service.m4
+++ b/units/getty at .service.m4
@@ -41,7 +41,8 @@ ConditionPathExists=/dev/tty0
[Service]
Environment=TERM=linux
-ExecStart=-/sbin/agetty %I 38400
+# the VT is cleared by TTYVTDisallocate
+ExecStart=-/sbin/agetty --noclear %I 38400
Type=idle
Restart=always
RestartSec=0
More information about the systemd-commits
mailing list