Created
April 10, 2016 21:55
-
-
Save Nihlus/a7998003ce3de663330b076b80682b4c to your computer and use it in GitHub Desktop.
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 | |
echo "It's fucked up, but that's OK cuz I'm the unfucker. How bad is it?" | |
while true; do | |
read -p "Y/y for complete purge, N/n for normal removal. I'll reboot your shit no matter what." yn | |
case $yn in | |
[Yy]* ) sudo apt-get purge nvidia*; sudo reboot now;; | |
[Nn]* ) sudo apt-get remove nvidia*; sudo reboot now;; | |
* ) echo "Ay yo give it to me straight";; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment