Skip to content

Instantly share code, notes, and snippets.

@Jamesits
Created October 13, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jamesits/69bcfa4918950477bf91 to your computer and use it in GitHub Desktop.
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
#!/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