summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-11 09:01:35 +0000
committerjkh <jkh@FreeBSD.org>1995-05-11 09:01:35 +0000
commitfa40b84c6891ea95a81f8f52281767a1d2234727 (patch)
tree34e503af0f691568eeb519cf19b98c83a928ee24 /usr.sbin/sysinstall/system.c
parentd947064fab14fc8ff9fb73ca22ff12dd7ddd5d4d (diff)
downloadFreeBSD-src-fa40b84c6891ea95a81f8f52281767a1d2234727.zip
FreeBSD-src-fa40b84c6891ea95a81f8f52281767a1d2234727.tar.gz
1. Don't check CHUNK_BSD_COMPAT for now; it always returns "no" and is
getting in the way of testing right now. 2. Call system() on commands, not vsystem(). No need for vsystem() here. 3. Add a path for the shell.
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
-rw-r--r--usr.sbin/sysinstall/system.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c
index bf2ee38..7344ac6 100644
--- a/usr.sbin/sysinstall/system.c
+++ b/usr.sbin/sysinstall/system.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: system.c,v 1.8 1995/05/08 06:06:29 jkh Exp $
+ * $Id: system.c,v 1.9 1995/05/10 18:59:51 jkh Exp $
*
* Jordan Hubbard
*
@@ -140,6 +140,7 @@ systemShellEscape(void)
msgWarn("No shell available, sorry!");
return 1;
}
+ setenv("PATH", "/stand", 1);
setenv("PS1", "freebsd% ", 1);
dialog_clear();
dialog_update();
OpenPOWER on IntegriCloud