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:
jhb 2005-03-02 22:48:13 +00:00
parent 57512eae36
commit beec1e31ad
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 */