Skip to content

epleterte/zerohosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

zerohosts

Simple script that fetches and updates your hosts file with zerohost data. It fetches the hosts file from http://someonewhocares.org/hosts/zero/

The fetched hosts file is not modified or easily modifyable in any way as of now. If you modify the result it will be overwritten on update.

The script inserts a BEGIN marker and an END marker. This way updates (re-running the script) will not append the remote file twice - if old data is found it will be removed (using the markers) before the new data is appended.

The script will ask for sudo privileges in order to perform the modifications of /etc/hosts. /etc/hosts will be backed up to /tmp/ in case of total disaster and other problems.

This script is distributed under the beerware license. Yay! 🐨

About

Update your /etc/hosts with data from http://someonewhocares.org/hosts/zero/ and keep them ads away.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages