Xorg.sh.in 287 B

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