From 1c05303fdc302725093294eb0305adc003d52bcb Mon Sep 17 00:00:00 2001 From: Jeremie Koenig Date: Thu, 27 May 2010 15:46:07 +0200 Subject: init: make the initial $TERM value configurable Signed-off-by: Jeremie Koenig Signed-off-by: Denys Vlasenko --- init/Config.src | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'init/Config.src') diff --git a/init/Config.src b/init/Config.src index 590e29890..2cac3573e 100644 --- a/init/Config.src +++ b/init/Config.src @@ -89,6 +89,18 @@ config FEATURE_INITRD This does not apply to initramfs, which runs /init as PID 1 and requires no special support. +config INIT_TERMINAL_TYPE + string "Initial terminal type" + default "linux" + depends on INIT + help + This is the initial value set by init for the TERM environment + variable. This variable is used by programs which make use of + extended terminal capabilities. + + Note that on Linux, init attempts to detect serial terminal and + sets TERM to "vt102" if one is found. + config HALT bool "poweroff, halt, and reboot" default y -- cgit v1.2.3