Automatically switch to ttyv3 where the fixit shell is running when using

the standard console and any fixit mode.

MFC after:	1 day
This commit is contained in:
John Baldwin 2005-03-02 22:48:13 +00:00
parent 92f6e2c87f
commit 7238c70c3b
2 changed files with 4 additions and 0 deletions

View File

@ -522,6 +522,8 @@ fixit_common(void)
"When you are done, type ``exit'' to exit\n"
"the fixit shell and be returned here.\n\n");
fflush(stdout);
} else {
ioctl(fd, VT_ACTIVATE, 0);
}
/* use the .profile from the fixit medium */

View File

@ -522,6 +522,8 @@ fixit_common(void)
"When you are done, type ``exit'' to exit\n"
"the fixit shell and be returned here.\n\n");
fflush(stdout);
} else {
ioctl(fd, VT_ACTIVATE, 0);
}
/* use the .profile from the fixit medium */