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 ab4ad56..91a7255 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 ab4ad56..91a7255 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
        };