diff options
author | jkh <jkh@FreeBSD.org> | 1996-03-23 07:28:22 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-03-23 07:28:22 +0000 |
commit | 2b4d1b452914c13d9fa251572ffc5c1b693b0f99 (patch) | |
tree | da7c2d8e0247943e8b10b6934bc14ff289dbac4e /usr.sbin | |
parent | 7c11c861a5d40b0a07f32288487edc9a7690f9a0 (diff) | |
download | FreeBSD-src-2b4d1b452914c13d9fa251572ffc5c1b693b0f99.zip FreeBSD-src-2b4d1b452914c13d9fa251572ffc5c1b693b0f99.tar.gz |
Whoops! I create the holographic shell too early now - move it after
the chroot. Nice idea, just didn't work (caused shared execs to fail!).
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/install.c | 10 | ||||
-rw-r--r-- | usr.sbin/sysinstall/install.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 9a1fd7f..f4eca83 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.77 1996/03/18 15:27:54 jkh Exp $ + * $Id: install.c,v 1.78 1996/03/23 07:21:29 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -201,10 +201,6 @@ installInitial(void) return RET_FAIL; } - dialog_clear(); - /* stick a helpful shell over on the 4th VTY */ - systemCreateHoloshell(); - if (chroot("/mnt") == -1) { dialog_clear(); msgConfirm("Unable to chroot to /mnt - this is bad!"); @@ -214,6 +210,10 @@ installInitial(void) chdir("/"); variable_set2(RUNNING_ON_ROOT, "yes"); + dialog_clear(); + /* stick a helpful shell over on the 4th VTY */ + systemCreateHoloshell(); + alreadyDone = TRUE; return RET_SUCCESS; } diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 9a1fd7f..f4eca83 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.77 1996/03/18 15:27:54 jkh Exp $ + * $Id: install.c,v 1.78 1996/03/23 07:21:29 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -201,10 +201,6 @@ installInitial(void) return RET_FAIL; } - dialog_clear(); - /* stick a helpful shell over on the 4th VTY */ - systemCreateHoloshell(); - if (chroot("/mnt") == -1) { dialog_clear(); msgConfirm("Unable to chroot to /mnt - this is bad!"); @@ -214,6 +210,10 @@ installInitial(void) chdir("/"); variable_set2(RUNNING_ON_ROOT, "yes"); + dialog_clear(); + /* stick a helpful shell over on the 4th VTY */ + systemCreateHoloshell(); + alreadyDone = TRUE; return RET_SUCCESS; } |