diff options
author | jkh <jkh@FreeBSD.org> | 1997-06-18 05:11:37 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-06-18 05:11:37 +0000 |
commit | 3c30be4b409d77562e7cc8c79edb4bf99916cdcb (patch) | |
tree | 08dd958cb16566653d69d3fb9d634c2f15d63bf0 /usr.sbin/sysinstall/options.c | |
parent | afb7547b1d249b68744bfbd3888d2af97dc45b72 (diff) | |
download | FreeBSD-src-3c30be4b409d77562e7cc8c79edb4bf99916cdcb.zip FreeBSD-src-3c30be4b409d77562e7cc8c79edb4bf99916cdcb.tar.gz |
1. Add a noWarn flag so that scripts can turn warnings off.
2. If hostname not set from script, bring up interactive dialog anyway.
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 1b49978..3b81c95 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.53 1997/02/07 04:26:46 jkh Exp $ + * $Id: options.c,v 1.54 1997/05/22 00:17:11 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -112,6 +112,8 @@ static Option Options[] = { OPT_IS_VAR, NULL, VAR_SLOW_ETHER, varCheck }, { "Debugging", "Emit extra debugging output on VTY2 (ALT-F2)", OPT_IS_VAR, NULL, VAR_DEBUG, varCheck }, +{ "No Warnings", "Don't Warn the user when a setting seems incorrect", + OPT_IS_VAR, NULL, VAR_NO_WARN, varCheck }, { "Yes to All", "Assume \"Yes\" answers to all non-critical dialogs", OPT_IS_VAR, NULL, VAR_NO_CONFIRM, varCheck }, { "FTP username", "Username and password to use instead of anonymous", |