[wiki] [sites] update zerohosts doc || Thuban

From: <git_AT_suckless.org>
Date: Tue, 26 Mar 2019 17:29:57 +0100

commit 2a9037080066d6735d0dcc5ea3b3f28ef115af67
Author: Thuban <thuban_AT_yeuxdelibad.net>
Date: Tue Mar 26 17:28:49 2019 +0100

    update zerohosts doc

diff --git a/surf.suckless.org/files/adblock-hosts/index.md b/surf.suckless.org/files/adblock-hosts/index.md
index 60eb2576..9959b422 100644
--- a/surf.suckless.org/files/adblock-hosts/index.md
+++ b/surf.suckless.org/files/adblock-hosts/index.md
_AT_@ -48,12 +48,9 @@ They are written in `/etc/hosts` file to disable DNS resolution.
 Get the script from here :
 [zerohosts](https://dev.yeuxdelibad.net/OpenBSD-stuff/zerohosts).
 
-Edit the script to add you own entries if necessary :
+Include your own `/etc/hosts` rules by including a file as an argument
 
- MYHOSTS="
- 127.0.0.1 localhost
- ::1 localhost
- "
+ zerohosts /etc/myhosts.txt
 
 Run the script each time you want to update the lists using a cronjob, or
 `/etc/rc.local` :
Received on Tue Mar 26 2019 - 17:29:57 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 26 2019 - 17:36:28 CET