aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-09-05 17:57:52 +0000
committerEric Andersen <andersen@codepoet.org>2000-09-05 17:57:52 +0000
commit3639c5d9509ff2c91dee55bbce290d87a49970d5 (patch)
tree993065432d4ebf608b44ae8790412fbdb63fef6b
parent1b355ebba68bdd567dd3961a18291dfd9532c2e8 (diff)
downloadbusybox-3639c5d9509ff2c91dee55bbce290d87a49970d5.tar.gz
Set environment variable to make ash happy. ash is a frequent enough
target....
-rw-r--r--init.c1
-rw-r--r--init/init.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/init.c b/init.c
index ab4ad5651..91a72550b 100644
--- a/init.c
+++ b/init.c
@@ -407,6 +407,7 @@ static pid_t run(char *command, char *terminal, int get_enter)
"SHELL=/bin/sh",
termType,
"USER=root",
+ "ENV=/etc/profile",
0
};
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)
"SHELL=/bin/sh",
termType,
"USER=root",
+ "ENV=/etc/profile",
0
};