From 0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2 Mon Sep 17 00:00:00 2001 From: jkh Date: Mon, 29 May 1995 00:50:05 +0000 Subject: Shrink the boot floppy by removing all extraneous stuff. Also increase number of inodes. Fix various bugs reported by Poul. Implement VTY switching. --- usr.sbin/sysinstall/system.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.sbin/sysinstall/system.c') diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index 11058f6..3c25cc3 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/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 -- cgit v1.1