1#!/bin/sh
2#
3# Execute Xorg.wrap if it exists otherwise execute Xorg directly.
4# This allows distros to put the suid wrapper in a separate package.
5
6basedir=@SUID_WRAPPER_DIR@
7if [ -x "$basedir"/Xorg.wrap ]; then
8	exec "$basedir"/Xorg.wrap "$@"
9else
10	exec "$basedir"/Xorg "$@"
11fi
12