diff options
-rw-r--r-- | etc/mtree/BSD.root.dist | 2 | ||||
-rw-r--r-- | usr.sbin/sade/config.c | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/config.c | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/installUpgrade.c | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist index 559527c..85ef433 100644 --- a/etc/mtree/BSD.root.dist +++ b/etc/mtree/BSD.root.dist @@ -20,6 +20,8 @@ .. .. etc + X11 + .. defaults .. gnats diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 3d3f5bd..8878d5b 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -709,8 +709,9 @@ tryagain: "Choose \"/dev/sysmouse\" as the mouse port and \"SysMouse\" or\n" "\"MouseSystems\" as the mouse protocol in the X configuration\n" "utility."); + Mkdir("/etc/X11"); /* XXX:Remove this later after we are happy mtree will have created this for us. */ systemExecute(execcmd); - if (!file_readable("/etc/XF86Config")) { + if (!file_readable("/etc/X11/XF86Config")) { if (!msgYesNo("The XFree86 configuration process seems to have\nfailed. Would you like to try again?")) goto tryagain; else { diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 3d3f5bd..8878d5b 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -709,8 +709,9 @@ tryagain: "Choose \"/dev/sysmouse\" as the mouse port and \"SysMouse\" or\n" "\"MouseSystems\" as the mouse protocol in the X configuration\n" "utility."); + Mkdir("/etc/X11"); /* XXX:Remove this later after we are happy mtree will have created this for us. */ systemExecute(execcmd); - if (!file_readable("/etc/XF86Config")) { + if (!file_readable("/etc/X11/XF86Config")) { if (!msgYesNo("The XFree86 configuration process seems to have\nfailed. Would you like to try again?")) goto tryagain; else { diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c index eccb50da..613ad19 100644 --- a/usr.sbin/sysinstall/installUpgrade.c +++ b/usr.sbin/sysinstall/installUpgrade.c @@ -57,7 +57,7 @@ typedef struct _hitList { /* These are the only meaningful files I know about */ static HitList etc_files [] = { { JUST_COPY, "Xaccel.ini", TRUE, NULL }, - { JUST_COPY, "XF86Config", TRUE, NULL }, + { JUST_COPY, "X11", TRUE, NULL }, { JUST_COPY, "adduser.conf", TRUE, NULL }, { JUST_COPY, "aliases", TRUE, NULL }, { JUST_COPY, "aliases.db", TRUE, NULL }, |