slackbuilds/network/hostsblock
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README
doinst.sh network/hostsblock: Fixed doinst.sh. 2017-08-12 06:57:51 +07:00
hostsblock.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
hostsblock.info network/hostsblock: Mirror download url. 2018-03-06 02:04:23 +07:00
no-dnsmasq.patch
slack-desc network/hostsblock: Fix slack-desc. 2016-11-14 16:47:23 +07:00

README

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