chiark / gitweb /
units: add systemd-debug-shell.service
[elogind.git] / units / plymouth-halt.service
index fa1a20a46d50d25483ad83d05ebc52bdd03f83f3..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,9 +10,9 @@ 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
 ExecStartPost=-/bin/plymouth --show-splash
-ExecStartPost=-/bin/plymouth message '--text=Halting...'
 Type=forking