aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
};