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>
This commit is contained in:
Jeremie Koenig
2010-05-27 15:46:07 +02:00
committed by Denys Vlasenko
parent 714674e4da
commit 1c05303fdc
2 changed files with 13 additions and 1 deletions

View File

@@ -205,7 +205,7 @@ static void console_init(void)
} else
#endif
if (!s)
putenv((char*)"TERM=linux");
putenv((char*)"TERM=" CONFIG_INIT_TERMINAL_TYPE);
}
/* Set terminal settings to reasonable defaults.