Set environment variable to make ash happy. ash is a frequent enough
authorEric Andersen <andersen@codepoet.org>
Tue, 5 Sep 2000 17:57:52 +0000 (17:57 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 5 Sep 2000 17:57:52 +0000 (17:57 -0000)
target....

init.c
init/init.c

diff --git a/init.c b/init.c
index ab4ad56519f2085ebd46226be8cddba1fa5bde87..91a72550bc0d4590b41d3e649ef1a638d5e00a73 100644 (file)
--- 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
        };
 
index ab4ad56519f2085ebd46226be8cddba1fa5bde87..91a72550bc0d4590b41d3e649ef1a638d5e00a73 100644 (file)
@@ -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
        };