summaryrefslogtreecommitdiff
path: root/init/Config.src
diff options
context:
space:
mode:
authorJeremie Koenig2010-05-27 15:46:07 +0200
committerDenys Vlasenko2010-07-19 00:46:00 +0200
commit1c05303fdc302725093294eb0305adc003d52bcb (patch)
treec3bb688db9a02e2ceac9c4216d6b9510fbd07079 /init/Config.src
parent714674e4da3d92c5dd14e00ab30794a895b91eb4 (diff)
downloadbusybox-1c05303fdc302725093294eb0305adc003d52bcb.zip
busybox-1c05303fdc302725093294eb0305adc003d52bcb.tar.gz
init: make the initial $TERM value configurable
Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init/Config.src')
-rw-r--r--init/Config.src12
1 files changed, 12 insertions, 0 deletions
diff --git a/init/Config.src b/init/Config.src
index 590e298..2cac357 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