diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-05-27 15:46:07 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-19 00:46:00 +0200 |
commit | 1c05303fdc302725093294eb0305adc003d52bcb (patch) | |
tree | c3bb688db9a02e2ceac9c4216d6b9510fbd07079 /init/init.c | |
parent | 714674e4da3d92c5dd14e00ab30794a895b91eb4 (diff) | |
download | busybox-w32-1c05303fdc302725093294eb0305adc003d52bcb.tar.gz busybox-w32-1c05303fdc302725093294eb0305adc003d52bcb.tar.bz2 busybox-w32-1c05303fdc302725093294eb0305adc003d52bcb.zip |
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/init.c')
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index d8bf15894..fa1af6d7c 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -205,7 +205,7 @@ static void console_init(void) | |||
205 | } else | 205 | } else |
206 | #endif | 206 | #endif |
207 | if (!s) | 207 | if (!s) |
208 | putenv((char*)"TERM=linux"); | 208 | putenv((char*)"TERM=" CONFIG_INIT_TERMINAL_TYPE); |
209 | } | 209 | } |
210 | 210 | ||
211 | /* Set terminal settings to reasonable defaults. | 211 | /* Set terminal settings to reasonable defaults. |