chiark / gitweb /
plymouth: introduce plymouth.enable=0 kernel command line switch
authorLennart Poettering <lennart@poettering.net>
Sat, 30 Apr 2011 02:23:36 +0000 (04:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 30 Apr 2011 02:23:36 +0000 (04:23 +0200)
TODO
units/plymouth-halt.service
units/plymouth-kexec.service
units/plymouth-poweroff.service
units/plymouth-reboot.service
units/plymouth-start.service

diff --git a/TODO b/TODO
index 8d03d95..1537e27 100644 (file)
--- a/TODO
+++ b/TODO
@@ -33,9 +33,7 @@ Features:
 
 * drop /.readahead on bigger upgrades with yum
 
-* add inode stat() check to readahead
-
-* plymouth.enable=0
+* add inode stat() check to readahead to suppress preloading changed files
 
 * include /usr/local/lib/tmpfiles.d in tmpfiles tool as search path
   (and prefix/lib, in case it isn't one of the listed ones)
index 962d829..2e194b3 100644 (file)
@@ -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
index 0d7450f..919c3f1 100644 (file)
@@ -10,6 +10,7 @@ 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
index d4979df..8fcff3b 100644 (file)
@@ -10,6 +10,7 @@ Description=Show Plymouth Power Off Screen
 After=getty@tty1.service prefdm.service plymouth-start.service
 Before=poweroff.service
 DefaultDependencies=no
+ConditionKernelCommandLine=!plymouth.enable=0
 
 [Service]
 ExecStart=/sbin/plymouthd --mode=shutdown
index 7304a5f..fb65bcc 100644 (file)
@@ -10,6 +10,7 @@ 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
index 10d03c6..f618257 100644 (file)
@@ -14,6 +14,7 @@ Before=systemd-ask-password-plymouth.service
 
 # Dracut informs us with this flag file if plymouth is already running
 ConditionPathExists=!/run/plymouth/pid
+ConditionKernelCommandLine=!plymouth.enable=0
 
 [Service]
 ExecStart=/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid