From 1ba8fe776a6c19eab7fa8198f92299bbfe51e120 Mon Sep 17 00:00:00 2001 From: jkh Date: Sat, 2 Nov 1996 19:50:32 +0000 Subject: Fix a bogus decent into the network setup screen when running multi-user. Don't clear media on dist failure - this was one of those "seemed like a good idea at the time" sorts of features. --- release/sysinstall/dist.c | 6 +----- release/sysinstall/media.c | 7 ++++--- 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'release') diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c index 3ec4f9d..6112686 100644 --- a/release/sysinstall/dist.c +++ b/release/sysinstall/dist.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: dist.c,v 1.72 1996/10/06 14:45:54 jkh Exp $ + * $Id: dist.c,v 1.73 1996/10/10 09:22:27 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -580,10 +580,6 @@ distExtractAll(dialogMenuItem *self) msgConfirm("Couldn't extract the following distributions. This may\n" "be because they were not available on the installation\n" "media you've chosen:\n\n\t%s", buf); - /* Assume that if we couldn't get all the dists, our media probably needs changing at this point */ - if (mediaDevice->type == DEVICE_TYPE_FTP) - variable_unset(VAR_FTP_PATH); - mediaDevice->shutdown(mediaDevice); return DITEM_FAILURE | DITEM_RESTORE; } return DITEM_SUCCESS; diff --git a/release/sysinstall/media.c b/release/sysinstall/media.c index d173da8..8686637 100644 --- a/release/sysinstall/media.c +++ b/release/sysinstall/media.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: media.c,v 1.61 1996/10/12 19:30:20 jkh Exp $ + * $Id: media.c,v 1.62 1996/10/14 21:50:38 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -300,8 +300,9 @@ mediaSetFTP(dialogMenuItem *self) strcpy(ftpDevice.name, cp); dialog_clear_norefresh(); - if (network_init || msgYesNo("You've already done the network configuration once,\n" - "would you like to skip over it now?") != 0) { + if (RunningAsInit && + (network_init || msgYesNo("You've already done the network configuration once,\n" + "would you like to skip over it now?") != 0)) { if (mediaDevice) mediaDevice->shutdown(mediaDevice); if (!tcpDeviceSelect()) { -- cgit v1.1