aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/options.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-01-20 16:13:43 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-01-20 16:13:43 +0000
commit0f18f7f84ed8bc8fe9a17622e9061208536622cd (patch)
tree00849bb9a56f689830a84b977a2126172dd74345 /usr.sbin/sysinstall/options.c
parentb25b7bc1bec8041b6492b6aa48d9efb49e7a3eec (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall/options.c')
-rw-r--r--usr.sbin/sysinstall/options.c20
1 files changed, 16 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/options.c b/usr.sbin/sysinstall/options.c
index b421f0a6a2ff..33d461aa1e57 100644
--- a/usr.sbin/sysinstall/options.c
+++ b/usr.sbin/sysinstall/options.c
@@ -101,6 +101,10 @@ mediaCheck(Option opt)
#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:"
+#define APACHE_PKG_PROMPT "Please specify the package name for the Apache WEB server:"
+#define SAMBA_PKG_PROMPT "Please specify the package name for the Samba server:"
+#define GATED_PKG_PROMPT "Please specify the package name for the gated software:"
+#define PCNFSD_PKG_PROMPT "Please specify the package name for the PCNFSD server:"
static Option Options[] = {
{ "NFS Secure", "NFS server talks only on a secure port",
@@ -123,16 +127,24 @@ static Option Options[] = {
OPT_IS_VAR, RELNAME_PROMPT, VAR_RELNAME, varCheck },
{ "Install Root", "Which directory to unpack distributions or packages relative to",
OPT_IS_VAR, INSTROOT_PROMPT, VAR_INSTALL_ROOT, varCheck },
-{ "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 },
{ "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 },
+{ "Browser Exec", "This is the path to the main binary of the browser package",
+ OPT_IS_VAR, BBIN_PROMPT, VAR_BROWSER_BINARY, varCheck },
+{ "Browser Pkg", "This is the browser package that will be used for viewing HTML docs",
+ OPT_IS_VAR, BPKG_PROMPT, VAR_BROWSER_PACKAGE, varCheck },
+{ "Apache package", "The name of the Apache package to install if requested",
+ OPT_IS_VAR, APACHE_PKG_PROMPT, VAR_APACHE_PKG, varCheck },
+{ "Samba package", "The name of the Samba package to install if requested",
+ OPT_IS_VAR, SAMBA_PKG_PROMPT, VAR_SAMBA_PKG, varCheck },
+{ "Gated package", "The name of the gated package to install if requested",
+ OPT_IS_VAR, GATED_PKG_PROMPT, VAR_GATED_PKG, varCheck },
+{ "PCNFSD package", "The name of the PCNFSD package to install if requested",
+ OPT_IS_VAR, PCNFSD_PKG_PROMPT, VAR_PCNFSD_PKG, varCheck },
{ "Use Defaults", "Reset all values to startup defaults",
OPT_IS_FUNC, installVarDefaults, 0, resetLogo },
{ NULL },