chiark / gitweb /
plymouth: introduce plymouth.enable=0 kernel command line switch
[elogind.git] / units / plymouth-reboot.service
index 974db31d613a5138cdee9ee64b02cd974dd60091..fb65bcc8365bd0fbfb1fdee385e7a5ada346d088 100644 (file)
@@ -10,9 +10,9 @@ 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
 ExecStartPost=-/bin/plymouth --show-splash
-ExecStartPost=-/bin/plymouth message '--text=Rebooting...'
 Type=forking