summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/install.c
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2000-11-05 17:59:29 +0000
committertruckman <truckman@FreeBSD.org>2000-11-05 17:59:29 +0000
commitba9ae7c4f70ce406e1bb2b1bbe73872dd74fb35e (patch)
tree407dc85e0521f7dfbc33850e336eb3fa83b0f97c /usr.sbin/sade/install.c
parent6a92765ad421b295f35ab2dc8fa55031be323c76 (diff)
downloadFreeBSD-src-ba9ae7c4f70ce406e1bb2b1bbe73872dd74fb35e.zip
FreeBSD-src-ba9ae7c4f70ce406e1bb2b1bbe73872dd74fb35e.tar.gz
Back out change to prepend /sbin:/bin to $PATH, just overwrite $PATH
with these in the normal case. Set MAKEDEVPATH in sysinstall to include the /mnt2 stuff before starting the fixit shell.
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r--usr.sbin/sade/install.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 630e7f8..be167ee 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -432,6 +432,8 @@ fixit_common(void)
msgDebug("fixit shell: Unable to get terminal attributes!\n");
setenv("PATH", "/bin:/sbin:/usr/bin:/usr/sbin:/stand:"
"/mnt2/stand:/mnt2/bin:/mnt2/sbin:/mnt2/usr/bin:/mnt2/usr/sbin", 1);
+ setenv("MAKEDEVPATH", "/sbin:/bin:/stand:"
+ "/mnt2/sbin:/mnt2/bin:/mnt2/stand", 1);
if (strcmp(variable_get(VAR_FIXIT_TTY), "serial") == 0) {
printf("Waiting for fixit shell to exit.\n"
"When you are done, type ``exit'' to exit\n"
OpenPOWER on IntegriCloud