From eec499f52511f7a11c6896e01953b9bad956efc5 Mon Sep 17 00:00:00 2001 From: Maksim Ivanov <34414986+Ld-Hagen@users.noreply.github.com> Date: Tue, 14 Sep 2021 10:18:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D0=BB=20RE?= =?UTF-8?q?ADME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f1b6dbf..da01708 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,18 @@ # rt-white-ip Небольшой скрипт для переподключения при получении серого IP у Ростелекома. -##Использование (на OpenWRT) +## Использование (на OpenWRT) 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. Сделайте их исполняемыми + ```chmod +x /opt/10-white_ip /opt/white_ip.sh``` + 3. Создайте ссылку на 10-white_ip в /etc/hotplug.d/iface/ + ```ln -s /opt/10-white_ip /etc/hotplug.d/iface/```