#!/bin/bash set -x # # Make errors visible upon `docker logs -f steam` command # exec 2>&1 # # Befriend with grsecurity patched Linux kernel # if [ -r /proc/sys/kernel/grsecurity/tpe_gid ]; then groupadd -r -g $(cat /proc/sys/kernel/grsecurity/tpe_gid) grsec-tpe usermod -aG grsec-tpe $USER setfattr -n user.pax.flags -v "rm" \ $HOME/tor-browser/Browser/firefox \ $HOME/tor-browser/Browser/TorBrowser/Tor/tor fi su -s /bin/sh -p $USER -c "cd ./tor-browser/Browser && ./start-tor-browser"