summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-06-21 15:45:15 +0000
committerjkh <jkh@FreeBSD.org>1997-06-21 15:45:15 +0000
commit048f7b081976cb968580657dd194a917f2756371 (patch)
tree4e697f3fae83565031fc67c12f388722fed61d63 /release
parentb4dcc8bb379d868c127f6a63a0f85a9581870957 (diff)
downloadFreeBSD-src-048f7b081976cb968580657dd194a917f2756371.zip
FreeBSD-src-048f7b081976cb968580657dd194a917f2756371.tar.gz
Change the way that X configuration method is selected.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/config.c4
-rw-r--r--release/sysinstall/dispatch.c4
-rw-r--r--release/sysinstall/install.c12
-rw-r--r--release/sysinstall/menus.c4
-rw-r--r--release/sysinstall/sysinstall.h4
5 files changed, 18 insertions, 10 deletions
diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c
index 0a3ea5f..a17246d 100644
--- a/release/sysinstall/config.c
+++ b/release/sysinstall/config.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: config.c,v 1.99 1997/06/11 08:41:09 jkh Exp $
+ * $Id: config.c,v 1.100 1997/06/13 14:21:19 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -503,7 +503,7 @@ configUsers(dialogMenuItem *self)
}
int
-configXFree86(dialogMenuItem *self)
+configXEnvironment(dialogMenuItem *self)
{
#ifndef USE_XIG_ENVIRONMENT
char *config, *execfile;
diff --git a/release/sysinstall/dispatch.c b/release/sysinstall/dispatch.c
index 0d295b5..e72303a 100644
--- a/release/sysinstall/dispatch.c
+++ b/release/sysinstall/dispatch.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: dispatch.c,v 1.16 1997/06/13 09:34:10 jkh Exp $
+ * $Id: dispatch.c,v 1.17 1997/06/13 17:55:32 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -54,7 +54,7 @@ static struct _word {
{ "configRegister", configRegister },
{ "configRouter", configRouter },
{ "configUsers", configUsers },
- { "configXFree86", configXFree86 },
+ { "configXEnvironment", configXEnvironment },
{ "diskPartitionEditor", diskPartitionEditor },
{ "diskPartitionWrite", diskPartitionWrite },
{ "diskLabelEditor", diskLabelEditor },
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index 3817999..4ea6a3a 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.189 1997/06/18 05:11:36 jkh Exp $
+ * $Id: install.c,v 1.190 1997/06/20 07:04:16 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -570,11 +570,13 @@ installNovice(dialogMenuItem *self)
configRC_conf("/etc/rc.conf");
sync();
+#ifndef USE_XIG_ENVIRONMENT
if (directory_exists("/usr/X11R6")) {
dialog_clear_norefresh();
if (!msgYesNo("Would you like to configure your X server at this time?"))
- configXFree86(self);
+ configXEnvironment(self);
}
+#endif
dialog_clear_norefresh();
if (!msgYesNo("The FreeBSD package collection is a collection of hundreds of ready-to-run\n"
@@ -699,6 +701,12 @@ try_media:
i = installFixup(self);
}
variable_set2(SYSTEM_STATE, DITEM_STATUS(i) == DITEM_FAILURE ? "error-install" : "full-install");
+
+ /* We always try to install X with the XiG product */
+#ifdef USE_XIG_ENVIRONMENT
+ if (directory_exists("/usr/X11R6"))
+ configXEnvironment(self);
+#endif
return i | DITEM_RESTORE;
}
diff --git a/release/sysinstall/menus.c b/release/sysinstall/menus.c
index 82032d8..c355bcf 100644
--- a/release/sysinstall/menus.c
+++ b/release/sysinstall/menus.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: menus.c,v 1.138 1997/06/13 14:06:10 jkh Exp $
+ * $Id: menus.c,v 1.139 1997/06/13 14:21:20 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -1110,7 +1110,7 @@ DMenu MenuConfigure = {
#else
{ "X XFree86", "Configure XFree86",
#endif
- NULL, configXFree86 },
+ NULL, configXEnvironment },
{ "D Distributions", "Install additional distribution sets",
NULL, distExtractAll },
{ "L Label", "The disk Label editor",
diff --git a/release/sysinstall/sysinstall.h b/release/sysinstall/sysinstall.h
index 204ad3d..a7b26fb 100644
--- a/release/sysinstall/sysinstall.h
+++ b/release/sysinstall/sysinstall.h
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: sysinstall.h,v 1.134 1997/06/13 17:55:32 jkh Exp $
+ * $Id: sysinstall.h,v 1.135 1997/06/18 05:11:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -424,7 +424,7 @@ extern int configSaver(dialogMenuItem *self);
extern int configSaverTimeout(dialogMenuItem *self);
extern int configNTP(dialogMenuItem *self);
extern int configUsers(dialogMenuItem *self);
-extern int configXFree86(dialogMenuItem *self);
+extern int configXEnvironment(dialogMenuItem *self);
extern int configRouter(dialogMenuItem *self);
extern int configSamba(dialogMenuItem *self);
extern int configPCNFSD(dialogMenuItem *self);
OpenPOWER on IntegriCloud