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:
parent
57512eae36
commit
beec1e31ad
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user