Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Back up current hosts file:
- mv /etc/hosts /etc/hosts.disabled
- # Create new empty hosts file (with default entries for a normally functioning OS)
- touch /etc/hosts
- echo "127.0.0.1 localhost.localdomain localhost" > /etc/hosts
- echo "::1 localhost.localdomain localhost" >> /etc/hosts
- echo "Ad-blocking disabled"
Add Comment
Please, Sign In to add comment