]> git.baikalelectronics.ru Git - kernel.git/commit
console: make blank timeout value a boot option
authorDaniel Mack <daniel@caiaq.de>
Tue, 16 Jun 2009 22:33:52 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:52 +0000 (19:47 -0700)
commit85ca66446fe76cda03b842429fadec006b5e3e45
treefa9aa0d219c10e5db6e459c4ea64884135e93c03
parentbcdb7df664987b1239ee3e78c88bf8de8857eeae
console: make blank timeout value a boot option

The console blank timer is currently hardcoded to 10*60 seconds which
might be annoying on systems with no input devices attached to wake up the
console again.  Especially during development, disabling the screen saver
can be handy - for example when debugging the root fs mount mechanism or
other scenarios where no userspace program could be started to do that at
runtime from userspace.

This patch defines a core_param for the variable in charge which allows
users to entirely disable the blank feature at boot time by setting it 0.
The value can still be overwritten at runtime using the standard ioctl
call - this just allows to conditionally change the default.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/kernel-parameters.txt
drivers/char/vt.c