Skip to content

Instantly share code, notes, and snippets.

@uugr
Created September 3, 2014 22:38
Show Gist options
  • Save uugr/0cb02c0016d57d48629c to your computer and use it in GitHub Desktop.
Save uugr/0cb02c0016d57d48629c to your computer and use it in GitHub Desktop.
rtl8187 Module Reload - Sudo Auth with Zenity
######################################
# 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