No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

run.sh 361B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. SE_enforcing=`getenforce` || true
  3. sudo setenforce Permissive || true
  4. # Enable any host to connect on X Org
  5. xhost +
  6. docker run -ti --rm \
  7. -e DISPLAY \
  8. -v /tmp/.X11-unix:/tmp/.X11-unix \
  9. --device /dev/dri \
  10. edubart/otclient
  11. # Enable any host to connect on X Org
  12. xhost -
  13. sudo setenforce $SE_enforcing || true