summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-10 04:47:26 +0000
committerobrien <obrien@FreeBSD.org>2002-06-10 04:47:26 +0000
commit5d096a1b5cd4220c39f0c410ac8c2ffa0ca4534c (patch)
tree8688cf2404c7ff6e59b6255b9f023f91206b4ca2 /usr.sbin/sade
parent9477a17019dec947b1ac4ec010b9b979318e5ad2 (diff)
downloadFreeBSD-src-5d096a1b5cd4220c39f0c410ac8c2ffa0ca4534c.zip
FreeBSD-src-5d096a1b5cd4220c39f0c410ac8c2ffa0ca4534c.tar.gz
Change our default XF86Config location from /etc/ to /etc/X11/,
following the lead of The XFree86 Project's default. Approved by: Murray
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/config.c3
1 files changed, 2 insertions, 1 deletions
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 {
OpenPOWER on IntegriCloud