diff options
author | jhb <jhb@FreeBSD.org> | 2005-03-02 22:48:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-03-02 22:48:13 +0000 |
commit | beec1e31adac1183a2368eea61b23b17b276421a (patch) | |
tree | a9abbf909ccafa43076f87ac82bf0a09d2be93f5 /usr.sbin/sade/install.c | |
parent | 57512eae361cb661b9b3a0042563b4a0130debb8 (diff) | |
download | FreeBSD-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/install.c')
-rw-r--r-- | usr.sbin/sade/install.c | 2 |
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 */ |