From 7fcf7363bee5893b483a2d825643a92d14546c16 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sat, 23 Mar 1996 07:28:22 +0000 Subject: [PATCH] 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!). --- release/sysinstall/install.c | 10 +++++----- usr.sbin/sade/install.c | 10 +++++----- usr.sbin/sysinstall/install.c | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c index 9a1fd7f8f40f..f4eca83f729f 100644 --- a/release/sysinstall/install.c +++ b/release/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; } diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 9a1fd7f8f40f..f4eca83f729f 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 9a1fd7f8f40f..f4eca83f729f 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; }