Blame SOURCES/clear-screen.patch

7a4ca4
From 5337f1094ecedf50bcfb9a000ac6b99bd95ffea2 Mon Sep 17 00:00:00 2001
01018b
From: Ray Strode <rstrode@redhat.com>
01018b
Date: Fri, 14 Mar 2014 11:04:49 -0400
7a4ca4
Subject: [PATCH 5/8] systemd: clear terminal after starting
01018b
01018b
This helps with flicker when the X server shuts down.
01018b
---
1e501a
 data/gdm.service.in | 1 +
1e501a
 1 file changed, 1 insertion(+)
01018b
01018b
diff --git a/data/gdm.service.in b/data/gdm.service.in
7a4ca4
index 72201c1f..b58f4c61 100644
1e501a
--- a/data/gdm.service.in
1e501a
+++ b/data/gdm.service.in
7a4ca4
@@ -1,34 +1,35 @@
1e501a
 [Unit]
1e501a
 Description=GNOME Display Manager
1e501a
 
1e501a
 # replaces the getty
1e501a
 Conflicts=getty@tty@GDM_INITIAL_VT@.service
1e501a
 After=getty@tty@GDM_INITIAL_VT@.service
1e501a
 
1e501a
 # replaces plymouth-quit since it quits plymouth on its own
75a7a3
 Conflicts=@PLYMOUTH_QUIT_SERVICE@
75a7a3
 After=@PLYMOUTH_QUIT_SERVICE@
1e501a
 
1e501a
 # Needs all the dependencies of the services it's replacing
75a7a3
 # pulled from getty@.service and @PLYMOUTH_QUIT_SERVICE@
1e501a
 # (except for plymouth-quit-wait.service since it waits until
1e501a
 # plymouth is quit, which we do)
1e501a
 After=rc-local.service plymouth-start.service systemd-user-sessions.service
1e501a
 
1e501a
 # GDM takes responsibility for stopping plymouth, so if it fails
1e501a
 # for any reason, make sure plymouth still stops
1e501a
 OnFailure=plymouth-quit.service
1e501a
 
1e501a
 [Service]
1e501a
 ExecStart=@sbindir@/gdm
75a7a3
+ExecStartPost=-/bin/bash -c "TERM=linux /usr/bin/clear > /dev/tty1"
75a7a3
 KillMode=mixed
1e501a
 Restart=always
1e501a
 IgnoreSIGPIPE=no
1e501a
 BusName=org.gnome.DisplayManager
1e501a
 StandardOutput=syslog
1e501a
 StandardError=inherit
1e501a
 EnvironmentFile=-@LANG_CONFIG_FILE@
7a4ca4
 ExecReload=/bin/kill -SIGHUP $MAINPID
01018b
 
01018b
 [Install]
01018b
 Alias=display-manager.service
01018b
-- 
7a4ca4
2.14.2
01018b