From 37838c93f6be5a90dc35b8fa3449218806fc0c1f Mon Sep 17 00:00:00 2001 From: jkh Date: Sat, 18 Jan 1997 19:18:26 +0000 Subject: Fix a variety of problems with my timeout handling, make it more configurable (you can now set the timeout interval), fix a crash-bug when no network device was attached. --- release/sysinstall/options.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'release/sysinstall/options.c') diff --git a/release/sysinstall/options.c b/release/sysinstall/options.c index a70799e..b421f0a 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", -- cgit v1.1