summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/install.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-05-05 05:16:03 +0000
committerpst <pst@FreeBSD.org>1997-05-05 05:16:03 +0000
commit0d0068a444d2cef8e147134ecff104fafe7cb850 (patch)
treeb4f84cc1fa31ebf53519640b97bd9ce6530924f3 /release/sysinstall/install.c
parent16cf7a49785ae5422a15ddd2e1bde74a1c660e53 (diff)
downloadFreeBSD-src-0d0068a444d2cef8e147134ecff104fafe7cb850.zip
FreeBSD-src-0d0068a444d2cef8e147134ecff104fafe7cb850.tar.gz
Add in some more config file support -- add variables to shut up
sysinstall about the dangerously dedicated message, and other variables to allow pre-configuring the distribution sets. Still todo: add a variable to define an initial set of packages that should be loaded. Reviewed by: jkh
Diffstat (limited to 'release/sysinstall/install.c')
-rw-r--r--release/sysinstall/install.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index bb8bba9..f76436a 100644
--- a/release/sysinstall/install.c
+++ b/release/sysinstall/install.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: install.c,v 1.181 1997/04/03 13:44:58 jkh Exp $
+ * $Id: install.c,v 1.182 1997/04/28 10:31:13 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -653,10 +653,12 @@ installCommit(dialogMenuItem *self)
char *str;
Boolean need_bin;
- if (!Dists) {
+ if (!Dists)
+ distConfig(NULL);
+
+ if (!Dists)
if (!dmenuOpenSimple(&MenuDistributions, FALSE) && !Dists)
return DITEM_FAILURE | DITEM_RESTORE;
- }
if (!mediaVerify())
return DITEM_FAILURE | DITEM_RESTORE;
OpenPOWER on IntegriCloud