Created
May 26, 2016 12:13
-
-
Save dreampiggy/9e7c82ce6ff193e27f14b358a69ebb07 to your computer and use it in GitHub Desktop.
Counter-Strike Global Offensive OS X Boost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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