chiark / gitweb /
getty: skip VC gettys if the VC subsystem is not available
[elogind.git] / units / plymouth-kexec.service
index 61c6376a73fc31912e3b51d404eb626b060e23fd..8c36b7583b329a5f964d80994054415010867cf6 100644 (file)
@@ -1,8 +1,8 @@
 #  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
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
 
 [Unit]
@@ -10,9 +10,9 @@ 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
 ExecStartPost=-/bin/plymouth --show-splash
-ExecStartPost=-/bin/plymouth message '--text=Rebooting with kexec...'
 Type=forking