summaryrefslogtreecommitdiffstats
path: root/network/hostsblock/README
diff options
context:
space:
mode:
author Benjamin Trigona-Harany <slackbuilds@jaxartes.net>2013-12-28 10:56:19 +0700
committer Erik Hanson <erik@slackbuilds.org>2014-01-07 11:13:57 -0600
commitb68cc21916f0e69f5f6b9affaf2569e30d2320f7 (patch)
tree0ffed2b196628f6a4f03bed3eb0e2359e6aaff65 /network/hostsblock/README
parentf21bd1fd8e277d0d99167f072e1d923d4ad79a4e (diff)
downloadslackbuilds-b68cc21916f0e69f5f6b9affaf2569e30d2320f7.tar.gz
slackbuilds-b68cc21916f0e69f5f6b9affaf2569e30d2320f7.tar.xz
network/hostsblock: Added (ad/malware-blocking cron script).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/hostsblock/README')
-rw-r--r--network/hostsblock/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/network/hostsblock/README b/network/hostsblock/README
new file mode 100644
index 0000000000..d52b818eb4
--- /dev/null
+++ b/network/hostsblock/README
@@ -0,0 +1,15 @@
+Hostsblock is a bash script for Linux designed to take advantage of the
+/etc/hosts file to provide system-wide blocking of internet advertisements,
+malicious domains, trackers, and other undesirable content. To do so, it
+downloads a configurable set of blocklists and processes and their entries into
+a singular file.
+
+The SlackBuild assumes that dnsmasq is not available so it will configure
+hostsblock to overwrite the current /etc/hosts file. The install script will
+backup the current /etc/hosts file to /etc/hostsblock/hosts.head if it does
+not already exist.
+
+After uninstalling hostsblock, you should copy hosts.head back to /etc/hosts.
+
+To have hostsblock automatically update /etc/hosts once a week, run:
+ ln -sf /usr/sbin/hostsblock /etc/cron.weekly/hostsblock