summaryrefslogtreecommitdiff
path: root/units/fedora
diff options
context:
space:
mode:
Diffstat (limited to 'units/fedora')
-rw-r--r--units/fedora/plymouth-quit.service17
-rw-r--r--units/fedora/plymouth-shutdown.service21
-rw-r--r--units/fedora/prefdm.service2
3 files changed, 39 insertions, 1 deletions
diff --git a/units/fedora/plymouth-quit.service b/units/fedora/plymouth-quit.service
new file mode 100644
index 0000000000..e676eca883
--- /dev/null
+++ b/units/fedora/plymouth-quit.service
@@ -0,0 +1,17 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Terminate Plymouth Boot Screen
+After=getty@tty1.service
+
+[Service]
+ExecStart=-/usr/bin/plymouth quit
+Type=finish
+
+[Install]
+WantedBy=multi-user.target
diff --git a/units/fedora/plymouth-shutdown.service b/units/fedora/plymouth-shutdown.service
new file mode 100644
index 0000000000..da3acecd16
--- /dev/null
+++ b/units/fedora/plymouth-shutdown.service
@@ -0,0 +1,21 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Show Plymouth Shutdown Screen
+After=getty@tty1.service prefdm.service
+DefaultDependencies=no
+
+[Service]
+ExecStart=/sbin/plymouthd --mode=shutdown
+ExecStartPost=-/usr/bin/plymouth --sysinit
+ExecStartPost=-/usr/bin/plymouth --show-splash
+ExecStartPost=-/usr/bin/plymouth message '--text=Shutting Down'
+Type=forking
+
+[Install]
+WantedBy=shutdown.target
diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service
index acce52e0de..49c06a6c2f 100644
--- a/units/fedora/prefdm.service
+++ b/units/fedora/prefdm.service
@@ -11,7 +11,7 @@ After=syslog.target haldaemon.service
# On Fedora gdm/X11 is on tty1. We explicitly cancel the getty here to
# avoid any races around that.
-Conflicts=getty@tty1.service
+Conflicts=getty@tty1.service plymouth-quit.service
[Service]
ExecStart=/etc/X11/prefdm -nodaemon