]> 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)
commit6834170622e42e53253cacf1f63e885569503a17
tree47e959acc495e5a24e04f5f69c2553915737ed93
parente6cfcc4173b1f40991c2ce9e0b65decc763817ad
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