summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-03-02 22:48:13 +0000
committerjhb <jhb@FreeBSD.org>2005-03-02 22:48:13 +0000
commitbeec1e31adac1183a2368eea61b23b17b276421a (patch)
treea9abbf909ccafa43076f87ac82bf0a09d2be93f5 /usr.sbin/sade
parent57512eae361cb661b9b3a0042563b4a0130debb8 (diff)
downloadFreeBSD-src-beec1e31adac1183a2368eea61b23b17b276421a.zip
FreeBSD-src-beec1e31adac1183a2368eea61b23b17b276421a.tar.gz
Automatically switch to ttyv3 where the fixit shell is running when using
the standard console and any fixit mode. MFC after: 1 day
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/install.c2
1 files changed, 2 insertions, 0 deletions
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 */
OpenPOWER on IntegriCloud