• Clemens Ladisch's avatar
    vt: make the default color configurable · 3855ae1c
    Clemens Ladisch authored
    The virtual console has (undocumented) module parameters to set the
    colors for italic and underlined text, but the default text color was
    hardcoded for some reason.  This made it impossible to change the color
    for startup messages, or to set the default for new virtual consoles.
    Add a module parameter for that, and document the entire bunch.
    
    Any hacker who thinks that a command prompt on a "black screen with
    white font" is not supicious enough can now use the kernel parameter
    vt.color=10 to get a nice, evil green.
    Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    3855ae1c
vt.c 99.7 KB