Skip to content

Instantly share code, notes, and snippets.

@dreampiggy
Created May 26, 2016 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dreampiggy/9e7c82ce6ff193e27f14b358a69ebb07 to your computer and use it in GitHub Desktop.
Save dreampiggy/9e7c82ce6ff193e27f14b358a69ebb07 to your computer and use it in GitHub Desktop.
Counter-Strike Global Offensive OS X Boost
#!/bin/bash
ROOT_PWD="your_root_password"
CSGO_ID=`ps aux | grep csgo_osx64 | grep -v grep | awk '{print $2}'`
if [ -n "$CSGO_ID" ]; then
$(echo $ROOT_PWD | sudo -S renice -20 -p $CSGO_ID >/dev/null 2>&1)
echo "CSGO Boost Success"
else
echo "CSGO Boost Fail"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment