Corrected mixed spaces and tabs in Readme
parent
765614c903
commit
0f64262a92
28
Readme.md
28
Readme.md
|
|
@ -6,21 +6,21 @@ This reroutes urls to 0.0.0.0 and ::1 in order to block them from being reached.
|
|||
|
||||
Open the config file:
|
||||
|
||||
Linux: /etc/rhosts/rhosts.cfg
|
||||
|
||||
Windows: \ProgramData\rhosts\rhosts.cfg
|
||||
|
||||
Linux: /etc/rhosts/rhosts.cfg
|
||||
Windows: \ProgramData\rhosts\rhosts.cfg
|
||||
|
||||
|
||||
There are 3 types of entries: download, site, and whitelist. Downloads are downloaded and stripped of comments and bad entries if possible before being added to a list of sites. Whitelisted urls are removed from the list of sites. From there all the urls are added to the hosts file for both IPv4 and IPv6. You can also add comments by prepending with a '#'.
|
||||
|
||||
Example:
|
||||
|
||||
# This is a static entry
|
||||
site=www.site.xyz
|
||||
# This is a download entry
|
||||
download=w3.site.xyz/location/to/config.txt
|
||||
# This is a whitelist entry
|
||||
whitelist=www.site.xyz
|
||||
# This is a static entry
|
||||
site=www.site.xyz
|
||||
# This is a download entry
|
||||
download=w3.site.xyz/location/to/config.txt
|
||||
# This is a whitelist entry
|
||||
whitelist=www.site.xyz
|
||||
|
||||
|
||||
### Other Commands
|
||||
|
||||
|
|
@ -46,11 +46,11 @@ Build Dependencies:
|
|||
|
||||
Linux/Systemd:
|
||||
|
||||
make install
|
||||
make install
|
||||
|
||||
Build for Windows on Linux:
|
||||
|
||||
make build-win
|
||||
make build-win
|
||||
|
||||
### Windows
|
||||
|
||||
|
|
@ -60,8 +60,8 @@ Build Dependencies:
|
|||
|
||||
Windows:
|
||||
|
||||
cd src
|
||||
go build .
|
||||
cd src
|
||||
go build .
|
||||
|
||||
**Building has not been tested on Windows***
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue