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