diff options
author | jkh <jkh@FreeBSD.org> | 1999-04-06 08:25:53 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-04-06 08:25:53 +0000 |
commit | de886587fee38a2b6d267e4b9f1452643ee84206 (patch) | |
tree | fa63f7228f8d696e01328e315e334d08ecb7726d /usr.sbin/sysinstall/options.c | |
parent | 94c3a8d12f3962371ab018cc5870594c6426240a (diff) | |
download | FreeBSD-src-de886587fee38a2b6d267e4b9f1452643ee84206.zip FreeBSD-src-de886587fee38a2b6d267e4b9f1452643ee84206.tar.gz |
Add an option for resetting and rescanning the probed device list, perhaps
to now detect that CD you just remembered to put in the drive or that
pccard NIC that you've inserted (anybody can put pccardd in an mfsroot image
now you know.. :)
Requested by: Annelise Anderson <andrsn@andrsn.Stanford.EDU>
Diffstat (limited to 'usr.sbin/sysinstall/options.c')
-rw-r--r-- | usr.sbin/sysinstall/options.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/options.c b/usr.sbin/sysinstall/options.c index 6d5fb3c..5365d77 100644 --- a/usr.sbin/sysinstall/options.c +++ b/usr.sbin/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.56 1997/07/16 05:22:42 jkh Exp $ + * $Id: options.c,v 1.57 1999/02/05 22:15:51 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -141,6 +141,8 @@ static Option Options[] = { 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 }, +{ "Re-scan Devices", "Re-run sysinstall's initial device probe", + OPT_IS_FUNC, deviceRescan }, { "Use Defaults", "Reset all values to startup defaults", OPT_IS_FUNC, installVarDefaults, 0, resetLogo }, { NULL }, |