aboutsummaryrefslogtreecommitdiff
path: root/release/sysinstall/options.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-01-18 19:18:26 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-01-18 19:18:26 +0000
commita0e47058d0967033467a9d0dec7e2be2ef3e707d (patch)
tree3f735b8eee63e6fa439e011bca14e2293b5de0cd /release/sysinstall/options.c
parent7adaef9c398c895dffa6491c5cec4654c903a6f0 (diff)
Notes
Diffstat (limited to 'release/sysinstall/options.c')
-rw-r--r--release/sysinstall/options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/sysinstall/options.c b/release/sysinstall/options.c
index a70799ecc4a8..b421f0a6a2ff 100644
--- a/release/sysinstall/options.c
+++ b/release/sysinstall/options.c
@@ -100,6 +100,7 @@ mediaCheck(Option opt)
#define EDITOR_PROMPT "Please specify the name of the text editor you wish to use:"
#define PKG_PROMPT "Please specify a temporary directory with lots of free space:"
#define INSTROOT_PROMPT "Please specify a root directory if installing somewhere other than /"
+#define TIMEOUT_PROMPT "Please specify the number of seconds to wait for slow media:"
static Option Options[] = {
{ "NFS Secure", "NFS server talks only on a secure port",
@@ -128,6 +129,8 @@ static Option Options[] = {
OPT_IS_VAR, BBIN_PROMPT, VAR_BROWSER_BINARY, varCheck },
{ "Media Type", "The current installation media type.",
OPT_IS_FUNC, mediaGetType, VAR_MEDIA_TYPE, mediaCheck },
+{ "Media Timeout", "Timeout value in seconds for slow media.",
+ OPT_IS_VAR, TIMEOUT_PROMPT, VAR_MEDIA_TIMEOUT, varCheck },
{ "Package Temp", "The directory where package temporary files should go",
OPT_IS_VAR, PKG_PROMPT, VAR_PKG_TMPDIR, varCheck },
{ "Use Defaults", "Reset all values to startup defaults",