From beec1e31adac1183a2368eea61b23b17b276421a Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 2 Mar 2005 22:48:13 +0000 Subject: Automatically switch to ttyv3 where the fixit shell is running when using the standard console and any fixit mode. MFC after: 1 day --- usr.sbin/sade/install.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.sbin/sade') diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index d1bc571..7c21abf 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -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 */ -- cgit v1.1