chiark / gitweb /
logind: optionally handle power, sleep and lid switch events
[elogind.git] / units / plymouth-halt.service
index 962d829fff7964d996cdc72fc92cddf7881878c3..5dca3cc622e504a2890111877ef04be4d432dbdb 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,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