50plymouth: add plymouth.enable kernel command line option
authorHarald Hoyer <harald@redhat.com>
Mon, 29 Aug 2011 16:30:26 +0000 (18:30 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 29 Aug 2011 16:32:24 +0000 (18:32 +0200)
dracut.kernel.7.xml
modules.d/50plymouth/plymouth-pretrigger.sh

index 894b640..b6e59e6 100644 (file)
@@ -696,11 +696,17 @@ rd.znet=ctc,0.0.0600,0.0.0601,0.0.0602,protocol=bar</programlisting></para>
       <title>Plymouth Boot Splash</title>
       <variablelist>
         <varlistentry>
-          <term><envar>rd.plymouth</envar>=0</term>
+          <term><envar>plymouth.enable</envar>=0</term>
           <listitem>
             <para>disable the plymouth bootsplash.</para>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><envar>rd.plymouth</envar>=0</term>
+          <listitem>
+            <para>disable the plymouth bootsplash only for the initramfs.</para>
+          </listitem>
+        </varlistentry>
       </variablelist>
     </refsect2>
    <refsect2>
index 25ed06f..534948e 100755 (executable)
@@ -2,7 +2,7 @@
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 
-if getargbool 1 rd.plymouth -n rd_NO_PLYMOUTH; then
+if getargbool 1 plymouth.enable && getargbool 1 rd.plymouth -n rd_NO_PLYMOUTH; then
     [ -c /dev/null ] || mknod -m 0666 /dev/null c 1 3
     # first trigger graphics subsystem
     udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1