[wiki] [sites] update outdated urls || prx

From: <git_AT_suckless.org>
Date: Thu, 28 Nov 2024 13:49:49 +0100

commit 82ad9ebb6236b832fdaf25f9f72992451dc68df0
Author: prx <prx_AT_si3t.ch>
Date: Thu Nov 28 13:49:46 2024 +0100

    update outdated urls

diff --git a/surf.suckless.org/files/adblock-hosts/index.md b/surf.suckless.org/files/adblock-hosts/index.md
index b20b5043..49ab15da 100644
--- a/surf.suckless.org/files/adblock-hosts/index.md
+++ b/surf.suckless.org/files/adblock-hosts/index.md
_AT_@ -6,9 +6,9 @@ Adblocking is a non-trivial task, but there are trivial solutions.
 host-gen
 --------
 
-Install hosts-gen from <http://git.r-36.net/hosts-gen/>
+Install hosts-gen from <https://r-36.net/scm/hosts-gen>
 
- % git clone git://git.r-36.net/hosts-gen
+ % git clone git://r-36.net/hosts-gen
         % cd hosts-gen
         % sudo make install
 
_AT__AT_ -43,22 +43,20 @@ places : [adaway](https://adaway.org/hosts.txt),
 [someonewhocares](https://someonewhocares.org/hosts/zero/hosts),
 [pgl.yoyo](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext)...
 
-They are written in `/etc/hosts` file to disable DNS resolution.
+They are supposed to be written in `/etc/hosts` file to disable DNS resolution.
 
-Get the script in an archive from here :
-[zerohosts.tgz](https://si3t.ch/code/zerohosts.tgz).
+Get the script from here :
+[zerohosts.sh](https://si3t.ch/code/zerohosts/zerohost.sh).
 
 Include your own `/etc/hosts` rules by including a file as an argument
 
- zerohosts /etc/myhosts.txt
+ zerohosts.sh /etc/myhosts.txt > /etc/hosts
 
 Run the script each time you want to update the lists using a cronjob, or
-`/etc/rc.local` :
+`/etc/rc.local`.
 
- /usr/local/sbin/zerohosts &
 
-
-* Main page : <https://si3t.ch/Logiciel-libre/Code/zerohosts.xhtml>
+* Main page : <https://si3t.ch/code/zerohosts/>
 * Author : < prx (at) si3t (dot) ch >
   (feel free to suggest improvements)
 
Received on Thu Nov 28 2024 - 13:49:49 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 28 2024 - 14:01:08 CET