50plymouth: add plymouth.enable kernel command line option

master
Harald Hoyer 2011-08-29 18:30:26 +02:00
parent 82dfee9960
commit a3381af1de
2 changed files with 8 additions and 2 deletions

View 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>

View File

@ -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