Created
October 13, 2015 13:58
-
-
Save Jamesits/69bcfa4918950477bf91 to your computer and use it in GitHub Desktop.
Update dnsmasq additional hosts file on OpenWRT from https://github.com/StevenBlack/hosts
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 "Updating hosts..." | |
wget --show-progress -O hosts -- https://github.com/StevenBlack/hosts/raw/master/hosts && /etc/init.d/dnsmasq restart | |
echo "Update finished. " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment