Skip to content

Commit acae8ca

Browse files
committed
[readme]
1 parent 0bc12ae commit acae8ca

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ rm -rf /opt/clash
169169

170170
# Extra Info (optional):
171171

172-
# 1. To automatically update Clash rules when the Internet interface comes up:
172+
## 1. To automatically update Clash rules when the Internet interface comes up:
173173

174-
## Create the Hotplug Script
174+
Create the Hotplug Script:
175175

176176
1. Create the script in `/etc/hotplug.d/iface/40-clash_rules`:
177177
```bash
@@ -224,9 +224,9 @@ done
224224

225225
This script automatically updates rule providers whenever the Internet interface comes up, ensuring rules are refreshed after router reboots.
226226

227-
# 2. If you use `proxy-providers`, to automatically update the proxy server IP addresses (which are excluded from the mangle chain) when subscriptions change:
227+
## 2. If you use `proxy-providers`, to automatically update the proxy server IP addresses (which are excluded from the mangle chain) when subscriptions change:
228228

229-
## Create a cron job
229+
Create a cron job:
230230

231231
```sh
232232
# Check and update every 30 minutes

README.ru.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ rm -rf /opt/clash
170170

171171
# Дополнительная информация (необязательно):
172172

173-
# 1. Чтобы автоматически обновлять правила Clash при включении интернет-интерфейса:
173+
## 1. Чтобы автоматически обновлять правила Clash при включении интернет-интерфейса:
174174

175-
## Создайте скрипт Hotplug
175+
Создайте скрипт Hotplug:
176176

177177
1. Создайте скрипт в `/etc/hotplug.d/iface/40-clash_rules`:
178178
```bash
@@ -225,9 +225,9 @@ done
225225

226226
Этот скрипт автоматически обновляет провайдеров правил всякий раз, когда включается интернет-интерфейс, обеспечивая обновление правил после перезагрузки роутера.
227227

228-
# 2. Если вы используете `proxy-providers`, то для автоматического обновления IP-адресов прокси-серверов (исключаемых из цепочки mangle) при изменении подписок:
228+
## 2. Если вы используете `proxy-providers`, то для автоматического обновления IP-адресов прокси-серверов (исключаемых из цепочки mangle) при изменении подписок:
229229

230-
## Создайте задачу в cron
230+
Создайте задачу в cron:
231231

232232
```sh
233233
# Проверка и обновление каждые 30 минут

0 commit comments

Comments
 (0)