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 };