Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Feriman22 authored Apr 28, 2020
1 parent 6a86ed8 commit 783e258
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@ If you want to use this script somewhere else (for example in OS installer scrip
--cron\
Run the script like the crontab do. It will only set ipset/iptable rules and auto-update the script if not disabled. No output.


I added some error codes in 28-04-2020 release. These codes documented here:

| Error code | What does it mean? |
| ------------- | ------------- |
| 0 | Everything was fine (no error) |
| 5 | Not enough permission. Run as root or with sudo |
| 6 | ipset command not found |
| 7 | iptables command not found |
| 8 | GitHub is not available |
| 9 | Choosed *No* at Uninstall |
| 130 | Script cancelled by *ctrl + c* |

## How to update

Run the script and choose "Update" or run with --update argument.\
Expand Down

0 comments on commit 783e258

Please sign in to comment.