What does check_for_consoles do?
Ray Strode
halfline at gmail.com
Wed Apr 20 12:40:44 PDT 2011
Hi,
On Wed, Apr 20, 2011 at 5:09 AM, fykcee1 at gmail.com <fykcee1 at gmail.com> wrote:
> Hi all,
>
> What does check_for_consoles do? It forces "details plugins" if
> "console=ttyX" appears in kernel command line, seems strange.
The idea is if you have a serial console enabled you probably don't
want text animated progress bars
going over it, so we force details if there is a serial console.
>
> I did some hack:
> * Use add_default_displays_and_keyboard instead of check_for_consoles.
> * Set state->kernel_console_tty to "/dev/console".
careful, /dev/console is redirected if you start plymouthd with
--attach-to-session (for managing boot.log). If you use
/dev/console there then you're potentially going to cause a feedback loop.
--Ray
More information about the plymouth
mailing list