]> git.baikalelectronics.ru Git - kernel.git/commit
vt: make the default color configurable
authorClemens Ladisch <clemens@ladisch.de>
Sun, 4 Aug 2013 11:09:50 +0000 (13:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Aug 2013 07:06:46 +0000 (15:06 +0800)
commit4a6caf32994f111d1e9b748984dc58490cd74c9d
tree47e959acc495e5a24e04f5f69c2553915737ed93
parent936244773c2af0f54ddafabe113ed340900a0a3e
vt: make the default color configurable

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: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/kernel-parameters.txt
drivers/tty/vt/vt.c