1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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!).
This commit is contained in:
Jordan K. Hubbard 1996-03-23 07:28:22 +00:00
parent c343279fa7
commit 7fcf7363be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14765
3 changed files with 15 additions and 15 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}