summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-10-26 08:11:24 +0000
committerjkh <jkh@FreeBSD.org>1995-10-26 08:11:24 +0000
commitaa9adb3fbe84bfd397a94cd12ad446493938b10b (patch)
tree9a8d16231542ed3e89667fa414336feffb868607 /release
parent440393bb4465ace7d36918c929198d5b40ca1701 (diff)
downloadFreeBSD-src-aa9adb3fbe84bfd397a94cd12ad446493938b10b.zip
FreeBSD-src-aa9adb3fbe84bfd397a94cd12ad446493938b10b.tar.gz
o Fix installUpgrade to start the holographic shell as well.
o Lots of documentation fixes. o Rename FTP active to "FTP" and explain passive mode better. o Make tcpip screen a bit more friendly. o Literally dozens of nits.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/apache.c13
-rw-r--r--release/sysinstall/installFinal.c8
-rw-r--r--release/sysinstall/installUpgrade.c3
-rw-r--r--release/sysinstall/options.c4
-rw-r--r--release/sysinstall/package.c6
5 files changed, 23 insertions, 11 deletions
diff --git a/release/sysinstall/apache.c b/release/sysinstall/apache.c
index f853766..24367f2 100644
--- a/release/sysinstall/apache.c
+++ b/release/sysinstall/apache.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: apache.c,v 1.2 1995/10/22 21:38:04 jkh Exp $
+ * $Id: apache.c,v 1.3 1995/10/22 23:20:44 jkh Exp $
*
* Copyright (c) 1995
* Coranth Gryphon. All rights reserved.
@@ -54,7 +54,7 @@
#include "sysinstall.h"
#define APACHE_BASE "/usr/local/www"
-#define APACHE_HELPFILE "apache.html"
+#define APACHE_HELPFILE "apache.hlp"
#define APACHE_PACKAGE "apache-0.8.14"
typedef struct
@@ -393,12 +393,19 @@ installApache(char *unused)
char *tptr;
FILE *fptr;
+ msgConfirm("Since you elected to install the WEB server, we'll now add the\n"
+ "Apache HTTPD package and set up a few configuration files.");
i = package_add(APACHE_PACKAGE);
if (i == RET_SUCCESS)
i = apacheOpenDialog();
- if (i != RET_SUCCESS)
+ if (i != RET_SUCCESS) {
+ msgConfirm("Hmmmmm. Looks like we weren't able to fetch the Apache WEB server\n"
+ "package. You may wish to fetch and configure it by hand by looking\n"
+ "in /usr/ports/net/apache (in the ports collection) or looking for the\n"
+ "precompiled apache package in packages/networking/%s.", APACHE_PACKAGE);
return (i);
+ }
/*** Fix defaults for invalid value ***/
maxcon = atoi(tconf.maxcon);
diff --git a/release/sysinstall/installFinal.c b/release/sysinstall/installFinal.c
index c066d14..e4d7cb8 100644
--- a/release/sysinstall/installFinal.c
+++ b/release/sysinstall/installFinal.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: installFinal.c,v 1.9 1995/10/22 21:38:10 jkh Exp $
+ * $Id: installFinal.c,v 1.10 1995/10/23 13:19:41 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard & Coranth Gryphon. All rights reserved.
@@ -94,7 +94,7 @@ installNetworking(char *unused)
/* Set up anonymous FTP access to this machine? */
if (variable_get("anon_ftp")) {
- tptr = msgGetInput("/u", "What directory should the ftp home be in?");
+ tptr = msgGetInput("/u", "What directory should the anonymous ftp's home be under?");
if (tptr && *tptr && (tptr[0] == '/')) {
int len = strlen(tbuf);
@@ -230,8 +230,10 @@ installNetworking(char *unused)
"the /etc/exports file. You must configure this information before\n"
"other hosts will be able to mount file systems from your machine.\n"
"Press [ENTER] now to invoke an editor on /etc/exports");
- vsystem("echo '#The following example exports /usr to 3 machines named after ducks.' > /etc/exports");
+ vsystem("echo '#The following example exports /usr to 3 machines named after ducks:' > /etc/exports");
vsystem("echo '#/usr huey louie dewie' >> /etc/exports");
+ vsystem("echo '#' >> /etc/exports");
+ vsystem("echo '# You should replace these lines with your actual exported filesystems.' >> /etc/exports");
vsystem("echo >> /etc/exports");
systemExecute("ee /etc/exports");
}
diff --git a/release/sysinstall/installUpgrade.c b/release/sysinstall/installUpgrade.c
index 786fc3c..a34cd5a 100644
--- a/release/sysinstall/installUpgrade.c
+++ b/release/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.8 1995/10/23 13:19:45 jkh Exp $
+ * $Id: installUpgrade.c,v 1.9 1995/10/24 02:18:06 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -260,6 +260,7 @@ installUpgrade(char *str)
return RET_FAIL;
}
chdir("/");
+ systemCreateHoloshell();
if (extractingBin) {
while (!saved_etc) {
saved_etc = msgGetInput("/usr/tmp/etc", "Under which directory do you wish to save your current /etc?");
diff --git a/release/sysinstall/options.c b/release/sysinstall/options.c
index dbc32f8..0ab647a 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.22 1995/10/21 18:28:07 jkh Exp $
+ * $Id: options.c,v 1.23 1995/10/22 01:32:57 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -117,6 +117,8 @@ static Option Options[] = {
OPT_IS_VAR, NULL, VAR_NO_CONFIRM, varCheck },
{ "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 },
{ "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",
diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c
index 9749815..114e171 100644
--- a/release/sysinstall/package.c
+++ b/release/sysinstall/package.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: package.c,v 1.17 1995/10/23 13:19:49 jkh Exp $
+ * $Id: package.c,v 1.18 1995/10/24 02:18:18 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -138,11 +138,11 @@ package_extract(Device *dev, char *name)
msgDebug("pkg_extract: get operation returned %d\n", fd);
if (variable_get(VAR_NO_CONFIRM))
msgNotify("Unable to fetch package %s from selected media.\n"
- "No package add will be done.");
+ "No package add will be done.", name);
else {
dialog_clear();
msgConfirm("Unable to fetch package %s from selected media.\n"
- "No package add will be done.");
+ "No package add will be done.", name);
}
}
return ret;
OpenPOWER on IntegriCloud