Update readme.md

This commit is contained in:
StressOzz authored and GitHub committed 2026-07-14 13:49:19 +05:00
1 parent 71a8a45850
commit 850424d0e0
1 file changed
+12 -2
+12 -2
View File
@@ -14,11 +14,21 @@
---
### Для Windows - используйте:
**https://github.com/StressOzz/ZapretOzz**
### Для Windows - используйте: **https://github.com/StressOzz/ZapretOzz**
---
> [!IMPORTANT]
> Для доступа к **github.com**, выполните в **SSH** следующую команду:
> ```
> git="github.com"; grep -q "^140.82.114.3 $git" /etc/hosts || { printf "#$git\n140.82.114.3 $git\n185.199.110.154 github.githubassets.com\n185.199.110.133 camo.githubassets.com\n" >> > > > /etc/hosts; /etc/init.d/dnsmasq restart 2>/dev/null; }; echo -e "\033[0;32mOK\033[0m"
> ```
Чтобы удалить эту настройку, в **SSH** выполните:
```
sed -i '/#github.com/,+3d' /etc/hosts; /etc/init.d/dnsmasq restart 2>/dev/null; echo -e "\033[0;32mOK\033[0m"
```
> [!IMPORTANT]
> При возникновении проблем с запуском скрипта или его функций выполните в **SSH** следующую команду:
> ```