summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/config.c
diff options
context:
space:
mode:
authorkensmith <kensmith@FreeBSD.org>2004-08-10 02:18:28 +0000
committerkensmith <kensmith@FreeBSD.org>2004-08-10 02:18:28 +0000
commit4aed731cf3779d051c6327f021f8ccba812f28c8 (patch)
treec521ed0bde23b4699bba94aff46a6ed266a96042 /usr.sbin/sade/config.c
parentfdaf05cb9066acdcd8e330b69e4df23a704b3498 (diff)
downloadFreeBSD-src-4aed731cf3779d051c6327f021f8ccba812f28c8.zip
FreeBSD-src-4aed731cf3779d051c6327f021f8ccba812f28c8.tar.gz
Initial pass at shifting sysinstall(8) to install X.org instead of XFree86.
There are still a few nits to work out (graphical config non-functional). Patches by: anholt@, adapted slightly Reviewed by: 'make release'
Diffstat (limited to 'usr.sbin/sade/config.c')
-rw-r--r--usr.sbin/sade/config.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index 82baa42..4f3d882 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -693,13 +693,13 @@ configXSetup(dialogMenuItem *self)
setenv("XWINHOME", "/usr/X11R6", 1);
tryagain:
variable_unset(VAR_DESKSTYLE);
- variable_unset(VAR_XF86_CONFIG);
+ variable_unset(VAR_XORG_CONFIG);
dialog_clear_norefresh();
- if (!dmenuOpenSimple(&MenuXF86Config, FALSE)) {
+ if (!dmenuOpenSimple(&MenuXOrgConfig, FALSE)) {
restorescr(w);
return DITEM_FAILURE;
}
- config = variable_get(VAR_XF86_CONFIG);
+ config = variable_get(VAR_XORG_CONFIG);
style = variable_get(VAR_DESKSTYLE);
if (!config) {
if (style)
@@ -751,8 +751,8 @@ tryagain:
#endif
Mkdir("/etc/X11"); /* XXX:Remove this later after we are happy mtree will have created this for us. */
systemExecute(execcmd);
- if (!file_readable("/etc/X11/XF86Config")) {
- if (!msgYesNo("The XFree86 configuration process seems to have\nfailed. Would you like to try again?"))
+ if (!file_readable("/etc/X11/xorg.conf")) {
+ if (!msgYesNo("The X.Org configuration process seems to have\nfailed. Would you like to try again?"))
goto tryagain;
else {
restorescr(w);
@@ -766,8 +766,8 @@ config_desktop:
}
else {
free(execfile);
- msgConfirm("The XFree86 setup utility you chose does not appear to be installed!\n"
- "Please install this before attempting to configure XFree86.");
+ msgConfirm("The X.Org setup utility you chose does not appear to be installed!\n"
+ "Please install this before attempting to configure X.Org.");
restorescr(w);
return DITEM_FAILURE;
}
OpenPOWER on IntegriCloud