Introduction
Introduction Statistics Contact Development Disclaimer Help
update outdated urls - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
commit 82ad9ebb6236b832fdaf25f9f72992451dc68df0
parent d3f5fc0bc32f9496a68daced54b90eb1c1dad79b
Author: prx <[email protected]>
Date: Thu, 28 Nov 2024 13:49:46 +0100
update outdated urls
Diffstat:
M surf.suckless.org/files/adblock-ho… | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/surf.suckless.org/files/adblock-hosts/index.md b/surf.suckless.org…
@@ -6,9 +6,9 @@ Adblocking is a non-trivial task, but there are trivial solutio…
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
@@ -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&show…
-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)
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.