Обновил README
This commit is contained in:
@@ -4,7 +4,15 @@
|
|||||||
## Использование (на OpenWRT)
|
## Использование (на OpenWRT)
|
||||||
|
|
||||||
1. Скопируйте файлы 10-white_ip и white_ip.sh в директорию /opt на роутере
|
1. Скопируйте файлы 10-white_ip и white_ip.sh в директорию /opt на роутере
|
||||||
|
|
||||||
|
```wget -P /opt/ https://raw.githubusercontent.com/Ld-Hagen/rt-white-ip/main/10-white_ip```
|
||||||
|
|
||||||
|
```wget -P /opt/ https://raw.githubusercontent.com/Ld-Hagen/rt-white-ip/main/white_ip.sh```
|
||||||
|
|
||||||
2. Сделайте их исполняемыми
|
2. Сделайте их исполняемыми
|
||||||
|
|
||||||
```chmod +x /opt/10-white_ip /opt/white_ip.sh```
|
```chmod +x /opt/10-white_ip /opt/white_ip.sh```
|
||||||
|
|
||||||
3. Создайте ссылку на 10-white_ip в /etc/hotplug.d/iface/
|
3. Создайте ссылку на 10-white_ip в /etc/hotplug.d/iface/
|
||||||
|
|
||||||
```ln -s /opt/10-white_ip /etc/hotplug.d/iface/```
|
```ln -s /opt/10-white_ip /etc/hotplug.d/iface/```
|
||||||
|
|||||||
Reference in New Issue
Block a user