summaryrefslogtreecommitdiff
path: root/startx.cpp
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-04-04 22:49:51 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-04-04 22:49:51 -0700
commitf7c706ff46d4a2364d65731cd1c3135ef7987380 (patch)
tree2fef600220dc9c200845e6993bf528f307656faa /startx.cpp
parentca08a36d10f15be6d230a9af92288da4cb24cd43 (diff)
Apple: Execute /usr/X11/bin/privileged_startx if it's present
Diffstat (limited to 'startx.cpp')
-rw-r--r--startx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/startx.cpp b/startx.cpp
index d1d19d0..81042bc 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -102,6 +102,10 @@ if [ x`defaults read org.x.X11 cache_fonts` = x1 ] ; then
fi
fi
+if [ -x /usr/X11/bin/privileged_startx ] ; then
+ /usr/X11/bin/privileged_startx &
+fi
+
if [ x`defaults read org.x.X11 no_auth` = x0 ] ; then
enable_xauth=1
else