diff options
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/installUpgrade.c | 21 | ||||
-rw-r--r-- | usr.sbin/sysinstall/options.c | 14 |
2 files changed, 12 insertions, 23 deletions
diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c index 4d1986d56f5f..da8641d7eafa 100644 --- a/usr.sbin/sysinstall/installUpgrade.c +++ b/usr.sbin/sysinstall/installUpgrade.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: installUpgrade.c,v 1.11 1995/10/26 08:55:49 jkh Exp $ + * $Id: installUpgrade.c,v 1.12 1995/10/27 03:59:38 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -320,20 +320,11 @@ installUpgrade(char *str) } } - if (installNetworking("upgrade") == RET_FAIL) { - dialog_clear(); - msgConfirm("Some of the networking configuration stuff evidently failed, but\n" - "the first stage of the upgrade should otherwise be considered a\n" - "success!\n\n" - "Next comes stage 2, where we attempt to resurrect your /etc\n" - "directory!"); - } - else { - dialog_clear(); - msgConfirm("First stage of upgrade completed successfully!\n\n" - "Next comes stage 2, where we attempt to resurrect your /etc\n" - "directory!"); - } + dialog_clear(); + msgConfirm("First stage of upgrade completed successfully!\n\n" + "Next comes stage 2, where we attempt to resurrect your /etc\n" + "directory!"); + if (chdir(saved_etc)) { dialog_clear(); msgConfirm("Unable to go to your saved /etc directory in %s?! Argh!\n" diff --git a/usr.sbin/sysinstall/options.c b/usr.sbin/sysinstall/options.c index 0ab647a6cb0a..7aec6aa6b317 100644 --- a/usr.sbin/sysinstall/options.c +++ b/usr.sbin/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.23 1995/10/22 01:32:57 jkh Exp $ + * $Id: options.c,v 1.25 1995/10/26 08:56:06 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -100,11 +100,11 @@ mediaCheck(Option opt) return "<unset>"; } -#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 TAPE_PROMPT "Please enter the tape block size in 512 byte blocks:" +#define RELNAME_PROMPT "Please specify the release you wish to load:" #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 CONFIG_PROMPT "Please specify the name of a configuration file" +#define RETRY_PROMPT "Please specify the number of times to retry an FTP request:" static Option Options[] = { { "NFS Secure", "NFS server talks only on a secure port", @@ -118,7 +118,7 @@ static Option Options[] = { { "FTP OnError", "What to do when FTP requests fail: abort, retry, reselect.", OPT_IS_FUNC, mediaSetFtpOnError, VAR_FTP_ONERROR, varCheck }, { "FTP Retries", "If FTP OnError == retry, this is the number of times to try.", - OPT_IS_VAR, NULL, VAR_FTP_RETRIES, varCheck }, + OPT_IS_VAR, RETRY_PROMPT, VAR_FTP_RETRIES, varCheck }, { "FTP username", "Username and password to use instead of anonymous", OPT_IS_FUNC, mediaSetFtpUserPass, VAR_FTP_USER, varCheck }, { "Tape Blocksize", "Tape media block size in 512 byte blocks", @@ -127,12 +127,10 @@ static Option Options[] = { OPT_IS_FUNC, mediaSetCPIOVerbosity, VAR_CPIO_VERBOSITY, varCheck }, { "Release Name", "Which release to attempt to load from installation media", OPT_IS_VAR, RELNAME_PROMPT, VAR_RELNAME, varCheck }, -{ "Browser Pkg", "This is the browser package that will be used for viewing HTML", +{ "Browser Pkg", "This is the browser package that will be used for viewing HTML docs", OPT_IS_VAR, BPKG_PROMPT, VAR_BROWSER_PACKAGE, varCheck }, { "Browser Exec", "This is the path to the main binary of the browser package", OPT_IS_VAR, BBIN_PROMPT, VAR_BROWSER_BINARY, varCheck }, -{ "Config File", "Name of default configuration file for Load command (top menu)", - OPT_IS_VAR, CONFIG_PROMPT, VAR_CONFIG_FILE, varCheck }, { "Media Type", "The current installation media type.", OPT_IS_FUNC, mediaGetType, VAR_MEDIA_TYPE, mediaCheck }, { "Use Defaults", "Reset all values to startup defaults", |