summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-10-02 01:30:37 +0000
committerjkh <jkh@FreeBSD.org>1996-10-02 01:30:37 +0000
commitc5daba2dfdde4dcede28aefd521ce3e716d42a70 (patch)
treeda95fd72f6d36ed38d99c594e4e1fb6e152b69fb /release
parent5f7e240fef6c3a8541d3dc2136d5856a32c08774 (diff)
downloadFreeBSD-src-c5daba2dfdde4dcede28aefd521ce3e716d42a70.zip
FreeBSD-src-c5daba2dfdde4dcede28aefd521ce3e716d42a70.tar.gz
More tweaks to FTP reselection code - allow "none" to stand for
"no specific release - use anything you can find"
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/ftp_strat.c18
-rw-r--r--release/sysinstall/options.c4
2 files changed, 10 insertions, 12 deletions
diff --git a/release/sysinstall/ftp_strat.c b/release/sysinstall/ftp_strat.c
index 6802ebd..ac1eec0 100644
--- a/release/sysinstall/ftp_strat.c
+++ b/release/sysinstall/ftp_strat.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: ftp_strat.c,v 1.22 1996/07/09 14:28:14 jkh Exp $
+ * $Id: ftp_strat.c,v 1.23 1996/10/02 00:41:39 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -108,21 +108,19 @@ try:
}
/* Give it a shot - can't hurt to try and zoom in if we can, unless the release is set to
- __RELEASE which signifies that it's not set */
+ __RELEASE or "none" which signifies that it's not set */
rel = variable_get(VAR_RELNAME);
- if (strcmp(rel, "__RELEASE"))
+ if (strcmp(rel, "__RELEASE") && strcmp(rel, "none"))
i = FtpChdir(ftp, rel);
else
i = 0;
if (i == -1) {
if (!msgYesNo("Warning: Can't CD to `%s' distribution on this\n"
- "FTP server. You may need to visit a different\n"
- "server for the release you're trying to fetch\n"
- "or go to the Options menu and to set the release\n"
- "name to explicitly match what's available on\n"
- "%s.\n\n"
- "Would you like to select another FTP server?",
- rel, hostname)) {
+ "FTP server. You may need to visit a different server for\n"
+ "the release you're trying to fetch or go to the Options\n"
+ "menu and to set the release name to explicitly match what's\n"
+ "available on %s.\n\n"
+ "Would you like to select another FTP server?", rel, hostname)) {
dialog_clear_norefresh();
variable_unset(VAR_FTP_PATH);
if (!dmenuOpenSimple(&MenuMediaFTP, FALSE))
diff --git a/release/sysinstall/options.c b/release/sysinstall/options.c
index bec4c6b..f7200f7 100644
--- a/release/sysinstall/options.c
+++ b/release/sysinstall/options.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: options.c,v 1.42 1996/08/03 10:11:33 jkh Exp $
+ * $Id: options.c,v 1.43 1996/10/01 12:13:22 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -94,7 +94,7 @@ mediaCheck(Option opt)
}
#define TAPE_PROMPT "Please enter the tape block size in 512 byte blocks:"
-#define RELNAME_PROMPT "Please specify the release you wish to load:"
+#define RELNAME_PROMPT "Please specify the release you wish to load or\n\"none\" for a generic release install:"
#define BPKG_PROMPT "Please specify the name of the HTML browser package:"
#define BBIN_PROMPT "Please specify a full pathname to the HTML browser binary:"
#define EDITOR_PROMPT "Please specify the name of the text editor you wish to use:"
OpenPOWER on IntegriCloud