summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-29 00:50:05 +0000
committerjkh <jkh@FreeBSD.org>1995-05-29 00:50:05 +0000
commit0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2 (patch)
tree58d029010cbf3d16628a9ceed4f7834b66424740 /release/sysinstall/system.c
parent3af08455beaf843caa7977ba2b77b18a1eb5c29f (diff)
downloadFreeBSD-src-0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2.zip
FreeBSD-src-0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2.tar.gz
Shrink the boot floppy by removing all extraneous stuff. Also increase
number of inodes. Fix various bugs reported by Poul. Implement VTY switching.
Diffstat (limited to 'release/sysinstall/system.c')
-rw-r--r--release/sysinstall/system.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/release/sysinstall/system.c b/release/sysinstall/system.c
index 11058f6..3c25cc3 100644
--- a/release/sysinstall/system.c
+++ b/release/sysinstall/system.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: system.c,v 1.38 1995/05/26 21:00:43 jkh Exp $
+ * $Id: system.c,v 1.39 1995/05/28 09:36:06 jkh Exp $
*
* Jordan Hubbard
*
@@ -105,9 +105,7 @@ systemShutdown(void)
int fd, on = 1;
/* Put the console back */
- fd = open("/dev/ttyv0", O_RDONLY);
- if (fd != -1)
- ioctl(fd, TIOCCONS, &on);
+ ioctl(0, VT_RELDISP, 1);
reboot(RB_HALT);
}
else
OpenPOWER on IntegriCloud