chiark / gitweb /
units: add systemd-debug-shell.service
[elogind.git] / units / plymouth-poweroff.service
index d4979df1e077574facc9bf6205db2f256db8814c..e69033a8e3da89c7c40d17394e6c43ecb1e5adbb 100644 (file)
@@ -1,8 +1,8 @@
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
 #  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]
 #  (at your option) any later version.
 
 [Unit]
@@ -10,6 +10,7 @@ Description=Show Plymouth Power Off Screen
 After=getty@tty1.service prefdm.service plymouth-start.service
 Before=poweroff.service
 DefaultDependencies=no
 After=getty@tty1.service prefdm.service plymouth-start.service
 Before=poweroff.service
 DefaultDependencies=no
+ConditionKernelCommandLine=!plymouth.enable=0
 
 [Service]
 ExecStart=/sbin/plymouthd --mode=shutdown
 
 [Service]
 ExecStart=/sbin/plymouthd --mode=shutdown