diff options
author | jkh <jkh@FreeBSD.org> | 1996-07-08 10:08:22 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-07-08 10:08:22 +0000 |
commit | c296a76edd03a39d9aa3bdb44352a886905e3a29 (patch) | |
tree | c59eaf720ed2ae72da1988782279e197cc24983a /usr.sbin/sade | |
parent | 7e51f09a84728ab85cf82db31aad751f4aca98cb (diff) | |
download | FreeBSD-src-c296a76edd03a39d9aa3bdb44352a886905e3a29.zip FreeBSD-src-c296a76edd03a39d9aa3bdb44352a886905e3a29.tar.gz |
Fix even more lurking bogons - why do I never find these until the last
possible minute? :-)
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r-- | usr.sbin/sade/install.c | 4 | ||||
-rw-r--r-- | usr.sbin/sade/sade.h | 7 |
2 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index b08b905..7995ada 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.108 1996/07/05 08:35:56 jkh Exp $ + * $Id: install.c,v 1.109 1996/07/08 08:54:27 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -801,8 +801,6 @@ installVarDefaults(dialogMenuItem *self) variable_set2(VAR_BROWSER_PACKAGE, "lynx-2.5FM"); variable_set2(VAR_BROWSER_BINARY, "/usr/local/bin/lynx"); variable_set2(VAR_FTP_STATE, "passive"); - variable_set2(VAR_FTP_ONERROR, "abort"); - variable_set2(VAR_FTP_RETRIES, MAX_FTP_RETRIES); variable_set2(VAR_PKG_TMPDIR, "/usr/tmp"); if (getpid() != 1) variable_set2(SYSTEM_STATE, "update"); diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index 1cc22ad..c785fc3 100644 --- a/usr.sbin/sade/sade.h +++ b/usr.sbin/sade/sade.h @@ -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: sysinstall.h,v 1.71 1996/07/05 08:36:00 jkh Exp $ + * $Id: sysinstall.h,v 1.72 1996/07/08 08:54:33 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -58,7 +58,7 @@ #define DEV_NAME_MAX 64 /* The maximum length of a device name */ #define DEV_MAX 100 /* The maximum number of devices we'll deal with */ #define INTERFACE_MAX 50 /* Maximum number of network interfaces we'll deal with */ -#define MAX_FTP_RETRIES "4" /* How many times to beat our heads against the wall */ +#define IO_ERROR -2 /* Status code for I/O error rather than normal EOF */ /* * I make some pretty gross assumptions about having a max of 50 chunks @@ -90,11 +90,9 @@ #define VAR_EDITOR "editor" #define VAR_EXTRAS "ifconfig_" #define VAR_FTP_DIR "ftpDirectory" -#define VAR_FTP_ONERROR "ftpOnError" #define VAR_FTP_PASS "ftpPass" #define VAR_FTP_PATH "ftp" #define VAR_FTP_PORT "ftpPort" -#define VAR_FTP_RETRIES "ftpRetryCount" #define VAR_FTP_STATE "ftpState" #define VAR_FTP_USER "ftpUser" #define VAR_FTP_HOST "ftpHost" @@ -507,7 +505,6 @@ extern int mediaSetFTPActive(dialogMenuItem *self); extern int mediaSetFTPPassive(dialogMenuItem *self); extern int mediaSetUFS(dialogMenuItem *self); extern int mediaSetNFS(dialogMenuItem *self); -extern int mediaSetFtpOnError(dialogMenuItem *self); extern int mediaSetFtpUserPass(dialogMenuItem *self); extern int mediaSetCPIOVerbosity(dialogMenuItem *self); extern int mediaGetType(dialogMenuItem *self); |