diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-09-05 17:57:52 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-09-05 17:57:52 +0000 |
commit | 3639c5d9509ff2c91dee55bbce290d87a49970d5 (patch) | |
tree | 993065432d4ebf608b44ae8790412fbdb63fef6b | |
parent | 1b355ebba68bdd567dd3961a18291dfd9532c2e8 (diff) | |
download | busybox-w32-3639c5d9509ff2c91dee55bbce290d87a49970d5.tar.gz busybox-w32-3639c5d9509ff2c91dee55bbce290d87a49970d5.tar.bz2 busybox-w32-3639c5d9509ff2c91dee55bbce290d87a49970d5.zip |
Set environment variable to make ash happy. ash is a frequent enough
target....
-rw-r--r-- | init.c | 1 | ||||
-rw-r--r-- | init/init.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -407,6 +407,7 @@ static pid_t run(char *command, char *terminal, int get_enter) | |||
407 | "SHELL=/bin/sh", | 407 | "SHELL=/bin/sh", |
408 | termType, | 408 | termType, |
409 | "USER=root", | 409 | "USER=root", |
410 | "ENV=/etc/profile", | ||
410 | 0 | 411 | 0 |
411 | }; | 412 | }; |
412 | 413 | ||
diff --git a/init/init.c b/init/init.c index ab4ad5651..91a72550b 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -407,6 +407,7 @@ static pid_t run(char *command, char *terminal, int get_enter) | |||
407 | "SHELL=/bin/sh", | 407 | "SHELL=/bin/sh", |
408 | termType, | 408 | termType, |
409 | "USER=root", | 409 | "USER=root", |
410 | "ENV=/etc/profile", | ||
410 | 0 | 411 | 0 |
411 | }; | 412 | }; |
412 | 413 | ||