diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-29 02:42:10 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-29 16:28:29 +0200 |
commit | 42eacdadf56dfeb32c8cb0f598a47a43e6190483 (patch) | |
tree | 1462d75cfdc3aa6d4430187096f29efe7e31ffd3 /units | |
parent | c19a87330f5a9c49a884910abc39e8cb41df8ca7 (diff) |
units: introduce plymouth-start and plymouth-kexec, and move a few things back from basic to sysinit
Diffstat (limited to 'units')
-rw-r--r-- | units/fedora/plymouth-halt.service | 2 | ||||
-rw-r--r-- | units/fedora/plymouth-kexec.service | 19 | ||||
-rw-r--r-- | units/fedora/plymouth-poweroff.service | 2 | ||||
-rw-r--r-- | units/fedora/plymouth-quit.service | 2 | ||||
-rw-r--r-- | units/fedora/plymouth-reboot.service | 2 | ||||
-rw-r--r-- | units/fedora/plymouth-start.service | 17 |
6 files changed, 40 insertions, 4 deletions
diff --git a/units/fedora/plymouth-halt.service b/units/fedora/plymouth-halt.service index 2a5a06721a..1a957f425a 100644 --- a/units/fedora/plymouth-halt.service +++ b/units/fedora/plymouth-halt.service @@ -7,7 +7,7 @@ [Unit] Description=Show Plymouth Halt Screen -After=getty@tty1.service prefdm.service +After=getty@tty1.service prefdm.service plymouth-start.service Before=halt.service DefaultDependencies=no diff --git a/units/fedora/plymouth-kexec.service b/units/fedora/plymouth-kexec.service new file mode 100644 index 0000000000..b73286c88b --- /dev/null +++ b/units/fedora/plymouth-kexec.service @@ -0,0 +1,19 @@ +# 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 Reboot with kexec Screen +After=getty@tty1.service prefdm.service plymouth-start.service +Before=kexec.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=Rebooting with kexec...' +Type=forking diff --git a/units/fedora/plymouth-poweroff.service b/units/fedora/plymouth-poweroff.service index c92b66378a..5ff174fe85 100644 --- a/units/fedora/plymouth-poweroff.service +++ b/units/fedora/plymouth-poweroff.service @@ -7,7 +7,7 @@ [Unit] Description=Show Plymouth Power Off Screen -After=getty@tty1.service prefdm.service +After=getty@tty1.service prefdm.service plymouth-start.service Before=poweroff.service DefaultDependencies=no diff --git a/units/fedora/plymouth-quit.service b/units/fedora/plymouth-quit.service index 89c146b2e1..f4d292cd03 100644 --- a/units/fedora/plymouth-quit.service +++ b/units/fedora/plymouth-quit.service @@ -8,7 +8,7 @@ [Unit] Description=Terminate Plymouth Boot Screen Before=getty@tty1.service -After=dev-tty1.device rc-local.service +After=dev-tty1.device rc-local.service plymouth-start.service [Service] ExecStart=-/usr/bin/plymouth quit diff --git a/units/fedora/plymouth-reboot.service b/units/fedora/plymouth-reboot.service index 6641b7f5e6..d09171adfe 100644 --- a/units/fedora/plymouth-reboot.service +++ b/units/fedora/plymouth-reboot.service @@ -7,7 +7,7 @@ [Unit] Description=Show Plymouth Reboot Screen -After=getty@tty1.service prefdm.service +After=getty@tty1.service prefdm.service plymouth-start.service Before=reboot.service DefaultDependencies=no diff --git a/units/fedora/plymouth-start.service b/units/fedora/plymouth-start.service new file mode 100644 index 0000000000..26b04c7f73 --- /dev/null +++ b/units/fedora/plymouth-start.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=Show Plymouth Boot Screen +DefaultDependencies=no +After=systemd-vconsole-setup.service +Before=systemd-ask-password-plymouth.service + +[Service] +ExecStart=/sbin/plymouthd --mode=boot --attach-to-session +ExecStartPost=-/usr/bin/plymouth --show-splash +Type=forking |