diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-29 00:50:05 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-29 00:50:05 +0000 |
commit | 0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2 (patch) | |
tree | 58d029010cbf3d16628a9ceed4f7834b66424740 /release/sysinstall/system.c | |
parent | 3af08455beaf843caa7977ba2b77b18a1eb5c29f (diff) | |
download | FreeBSD-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.c | 6 |
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 |