Подготовка ссылок для публикации на GitHub
This commit is contained in:
parent
671f60343c
commit
5814017d77
|
|
@ -29,7 +29,7 @@
|
||||||
### 2. Установка системы
|
### 2. Установка системы
|
||||||
Выполните команду в консоли роутера:
|
Выполните команду в консоли роутера:
|
||||||
```bash
|
```bash
|
||||||
curl -sSL http://5.104.75.50:3000/Petro1990/rProxy/raw/branch/main/install.sh | sh
|
curl -sSL https://raw.githubusercontent.com/l-ptrol/rProxy/main/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3. Запуск интерфейса
|
### 3. Запуск интерфейса
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# rProxy Installer for Keenetic Routers (Entware)
|
# rProxy Installer for Keenetic Routers (Entware)
|
||||||
# Usage: curl -sSL http://5.104.75.50:3000/Petro1990/rProxy/raw/branch/main/install.sh | sh
|
# Usage: curl -sSL https://raw.githubusercontent.com/l-ptrol/rProxy/main/install.sh | sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
@ -11,7 +11,7 @@ BOLD='\033[1m'
|
||||||
YELLOW='\033[1;33m'
|
YELLOW='\033[1;33m'
|
||||||
NC='\033[0m'
|
NC='\033[0m'
|
||||||
|
|
||||||
REPO_URL="http://5.104.75.50:3000/Petro1990/rProxy/raw/branch/main"
|
REPO_URL="https://raw.githubusercontent.com/l-ptrol/rProxy/main"
|
||||||
INSTALL_DIR="/opt/bin"
|
INSTALL_DIR="/opt/bin"
|
||||||
CONF_DIR="/opt/etc/rproxy"
|
CONF_DIR="/opt/etc/rproxy"
|
||||||
INIT_DIR="/opt/etc/init.d"
|
INIT_DIR="/opt/etc/init.d"
|
||||||
|
|
|
||||||
4
rproxy
4
rproxy
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# rProxy — Менеджер обратного прокси для роутеров Keenetic
|
# rProxy — Менеджер обратного прокси для роутеров Keenetic
|
||||||
# Публикация локальных сервисов через SSH-туннели + nginx на VPS
|
# Публикация локальных сервисов через SSH-туннели + nginx на VPS
|
||||||
# http://5.104.75.50:3000/Petro1990/rProxy
|
# https://github.com/l-ptrol/rProxy
|
||||||
|
|
||||||
VERSION="1.6.5"
|
VERSION="1.6.5"
|
||||||
export PATH="/opt/bin:/opt/sbin:$PATH"
|
export PATH="/opt/bin:/opt/sbin:$PATH"
|
||||||
|
|
@ -681,7 +681,7 @@ do_self_update() {
|
||||||
printf "\n"
|
printf "\n"
|
||||||
msg "Проверяю наличие обновлений..."
|
msg "Проверяю наличие обновлений..."
|
||||||
|
|
||||||
local url="http://5.104.75.50:3000/Petro1990/rProxy/raw/branch/main/rproxy"
|
local url="https://raw.githubusercontent.com/l-ptrol/rProxy/main/rproxy"
|
||||||
local tmp_file="/tmp/rproxy_update"
|
local tmp_file="/tmp/rproxy_update"
|
||||||
|
|
||||||
if curl -sSL "$url" -o "$tmp_file"; then
|
if curl -sSL "$url" -o "$tmp_file"; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue