From 6de57e42c294763c78d77b0a9a7c5a08008a378a Mon Sep 17 00:00:00 2001 From: jkh Date: Tue, 30 May 1995 05:50:53 +0000 Subject: Whoops! Fix things so that the root.flp also comes over NFS, not just the distfiles. --- release/sysinstall/install.c | 19 +++++++------------ usr.sbin/sade/install.c | 19 +++++++------------ usr.sbin/sysinstall/install.c | 19 +++++++------------ 3 files changed, 21 insertions(+), 36 deletions(-) diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c index 24f8a3a..478c7cd 100644 --- a/release/sysinstall/install.c +++ b/release/sysinstall/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.67 1995/05/29 11:01:23 jkh Exp $ + * $Id: install.c,v 1.68 1995/05/29 13:37:43 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -401,11 +401,12 @@ root_extract(void) if (mediaDevice) { switch(mediaDevice->type) { - case DEVICE_TYPE_DOS: - case DEVICE_TYPE_FTP: - case DEVICE_TYPE_DISK: - case DEVICE_TYPE_NETWORK: - case DEVICE_TYPE_CDROM: + case DEVICE_TYPE_TAPE: + case DEVICE_TYPE_FLOPPY: + loop_on_root_floppy(); + break; + + default: if (mediaDevice->init) if (!(*mediaDevice->init)(mediaDevice)) break; @@ -425,12 +426,6 @@ root_extract(void) loop_on_root_floppy(); } break; - - case DEVICE_TYPE_TAPE: - case DEVICE_TYPE_FLOPPY: - default: - loop_on_root_floppy(); - break; } } else diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 24f8a3a..478c7cd 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.67 1995/05/29 11:01:23 jkh Exp $ + * $Id: install.c,v 1.68 1995/05/29 13:37:43 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -401,11 +401,12 @@ root_extract(void) if (mediaDevice) { switch(mediaDevice->type) { - case DEVICE_TYPE_DOS: - case DEVICE_TYPE_FTP: - case DEVICE_TYPE_DISK: - case DEVICE_TYPE_NETWORK: - case DEVICE_TYPE_CDROM: + case DEVICE_TYPE_TAPE: + case DEVICE_TYPE_FLOPPY: + loop_on_root_floppy(); + break; + + default: if (mediaDevice->init) if (!(*mediaDevice->init)(mediaDevice)) break; @@ -425,12 +426,6 @@ root_extract(void) loop_on_root_floppy(); } break; - - case DEVICE_TYPE_TAPE: - case DEVICE_TYPE_FLOPPY: - default: - loop_on_root_floppy(); - break; } } else diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 24f8a3a..478c7cd 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.67 1995/05/29 11:01:23 jkh Exp $ + * $Id: install.c,v 1.68 1995/05/29 13:37:43 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -401,11 +401,12 @@ root_extract(void) if (mediaDevice) { switch(mediaDevice->type) { - case DEVICE_TYPE_DOS: - case DEVICE_TYPE_FTP: - case DEVICE_TYPE_DISK: - case DEVICE_TYPE_NETWORK: - case DEVICE_TYPE_CDROM: + case DEVICE_TYPE_TAPE: + case DEVICE_TYPE_FLOPPY: + loop_on_root_floppy(); + break; + + default: if (mediaDevice->init) if (!(*mediaDevice->init)(mediaDevice)) break; @@ -425,12 +426,6 @@ root_extract(void) loop_on_root_floppy(); } break; - - case DEVICE_TYPE_TAPE: - case DEVICE_TYPE_FLOPPY: - default: - loop_on_root_floppy(); - break; } } else -- cgit v1.1