summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/plymouth-halt.service1
-rw-r--r--units/plymouth-kexec.service1
-rw-r--r--units/plymouth-poweroff.service1
-rw-r--r--units/plymouth-reboot.service1
-rw-r--r--units/plymouth-start.service1
5 files changed, 5 insertions, 0 deletions
diff --git a/units/plymouth-halt.service b/units/plymouth-halt.service
index 962d829fff..2e194b360e 100644
--- a/units/plymouth-halt.service
+++ b/units/plymouth-halt.service
@@ -10,6 +10,7 @@ Description=Show Plymouth Halt Screen
After=getty@tty1.service prefdm.service plymouth-start.service
Before=halt.service
DefaultDependencies=no
+ConditionKernelCommandLine=!plymouth.enable=0
[Service]
ExecStart=/sbin/plymouthd --mode=shutdown
diff --git a/units/plymouth-kexec.service b/units/plymouth-kexec.service
index 0d7450feea..919c3f1294 100644
--- a/units/plymouth-kexec.service
+++ b/units/plymouth-kexec.service
@@ -10,6 +10,7 @@ Description=Show Plymouth Reboot with kexec Screen
After=getty@tty1.service prefdm.service plymouth-start.service
Before=kexec.service
DefaultDependencies=no
+ConditionKernelCommandLine=!plymouth.enable=0
[Service]
ExecStart=/sbin/plymouthd --mode=shutdown
diff --git a/units/plymouth-poweroff.service b/units/plymouth-poweroff.service
index d4979df1e0..8fcff3bab1 100644
--- a/units/plymouth-poweroff.service
+++ b/units/plymouth-poweroff.service
@@ -10,6 +10,7 @@ Description=Show Plymouth Power Off Screen
After=getty@tty1.service prefdm.service plymouth-start.service
Before=poweroff.service
DefaultDependencies=no
+ConditionKernelCommandLine=!plymouth.enable=0
[Service]
ExecStart=/sbin/plymouthd --mode=shutdown
diff --git a/units/plymouth-reboot.service b/units/plymouth-reboot.service
index 7304a5fba2..fb65bcc836 100644
--- a/units/plymouth-reboot.service
+++ b/units/plymouth-reboot.service
@@ -10,6 +10,7 @@ Description=Show Plymouth Reboot Screen
After=getty@tty1.service prefdm.service plymouth-start.service
Before=reboot.service
DefaultDependencies=no
+ConditionKernelCommandLine=!plymouth.enable=0
[Service]
ExecStart=/sbin/plymouthd --mode=shutdown
diff --git a/units/plymouth-start.service b/units/plymouth-start.service
index 10d03c6c62..f618257a93 100644
--- a/units/plymouth-start.service
+++ b/units/plymouth-start.service
@@ -14,6 +14,7 @@ Before=systemd-ask-password-plymouth.service
# Dracut informs us with this flag file if plymouth is already running
ConditionPathExists=!/run/plymouth/pid
+ConditionKernelCommandLine=!plymouth.enable=0
[Service]
ExecStart=/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid