[gdm/rhel-7.9: 45/51] systemd: clear terminal after starting




commit 2f9309edb384680b2fad1e113d3499f307b6a1be
Author: Ray Strode <rstrode redhat com>
Date:   Fri Mar 14 11:04:49 2014 -0400

    systemd: clear terminal after starting
    
    This helps with flicker when the X server shuts down.

 data/gdm.service.in | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/data/gdm.service.in b/data/gdm.service.in
index 72201c1fd..b58f4c617 100644
--- a/data/gdm.service.in
+++ b/data/gdm.service.in
@@ -21,6 +21,7 @@ OnFailure=plymouth-quit.service
 
 [Service]
 ExecStart=@sbindir@/gdm
+ExecStartPost=-/bin/bash -c "TERM=linux /usr/bin/clear > /dev/tty1"
 KillMode=mixed
 Restart=always
 IgnoreSIGPIPE=no


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]