Created
September 3, 2014 22:38
-
-
Save uugr/0cb02c0016d57d48629c to your computer and use it in GitHub Desktop.
rtl8187 Module Reload - Sudo Auth with Zenity
This file contains hidden or 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
###################################### | |
# Save into a directory (eg. ~) # | |
# Add a new alias to shell_rc # | |
# And run it from console # | |
# OR # | |
# Make It Nautilus Script # | |
###################################### | |
#!/bin/bash | |
PASSWORD=$(zenity --password); | |
echo $PASSWORD | sudo -S rmmod rtl8187; | |
sleep 1; | |
echo $PASSWORD | sudo -S modprobe rtl8187 2>&1 /dev/null; | |
exit 0; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment