mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-23 23:58:07 +03:00
Upgrade Podkop to v0.7.2
This commit is contained in:
@@ -318,7 +318,7 @@ config_files="network
|
|||||||
firewall
|
firewall
|
||||||
https-dns-proxy
|
https-dns-proxy
|
||||||
dhcp"
|
dhcp"
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||||
|
|
||||||
checkPackageAndInstall "https-dns-proxy" "0"
|
checkPackageAndInstall "https-dns-proxy" "0"
|
||||||
|
|
||||||
@@ -575,7 +575,7 @@ fi
|
|||||||
|
|
||||||
path_podkop_config="/etc/config/podkop"
|
path_podkop_config="/etc/config/podkop"
|
||||||
path_podkop_config_backup="/root/podkop"
|
path_podkop_config_backup="/root/podkop"
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||||
|
|
||||||
if [ -f "/etc/init.d/podkop" ]; then
|
if [ -f "/etc/init.d/podkop" ]; then
|
||||||
printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n"
|
printf "Podkop installed. Reconfigured on AWG WARP and Opera Proxy? (y/n): \n"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||||
DIR="/etc/config"
|
DIR="/etc/config"
|
||||||
DIR_BACKUP="/root/backup"
|
DIR_BACKUP="/root/backup"
|
||||||
config_files="dhcp
|
config_files="dhcp
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||||
DIR="/etc/config"
|
DIR="/etc/config"
|
||||||
DIR_BACKUP="/root/backup"
|
DIR_BACKUP="/root/backup"
|
||||||
config_files="dhcp
|
config_files="dhcp
|
||||||
|
|||||||
BIN
podkop_packets/luci-app-podkop-v0.7.2-r1-all.ipk
Normal file
BIN
podkop_packets/luci-app-podkop-v0.7.2-r1-all.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/luci-i18n-podkop-ru-0.7.2.ipk
Normal file
BIN
podkop_packets/luci-i18n-podkop-ru-0.7.2.ipk
Normal file
Binary file not shown.
BIN
podkop_packets/podkop-v0.7.2-r1-all.ipk
Normal file
BIN
podkop_packets/podkop-v0.7.2-r1-all.ipk
Normal file
Binary file not shown.
@@ -7,10 +7,10 @@ findVersion="24.10.2"
|
|||||||
|
|
||||||
if echo "$DESCRIPTION" | grep -qi -- "$findKey" && printf '%s\n%s\n' "$findVersion" "$VERSION" | sort -V | tail -n1 | grep -qx -- "$VERSION"; then
|
if echo "$DESCRIPTION" | grep -qi -- "$findKey" && printf '%s\n%s\n' "$findVersion" "$VERSION" | sort -V | tail -n1 | grep -qx -- "$VERSION"; then
|
||||||
printf "\033[32;1mThis new firmware. Running new scprit...\033[0m\n"
|
printf "\033[32;1mThis new firmware. Running new scprit...\033[0m\n"
|
||||||
wget --no-check-certificate -O /tmp/universal_config_new_podkop.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop/universal_config_new_podkop.sh && chmod +x /tmp/universal_config_new_podkop.sh && /tmp/universal_config_new_podkop.sh $1 $2
|
wget --no-check-certificate -O /tmp/universal_config_new_podkop.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07/universal_config_new_podkop.sh && chmod +x /tmp/universal_config_new_podkop.sh && /tmp/universal_config_new_podkop.sh $1 $2
|
||||||
else
|
else
|
||||||
printf "\033[32;1mThis old firmware.\nRecommendation, upgrade firmware to actual release...\nSleep 5 sec...\033[0m\n"
|
printf "\033[32;1mThis old firmware.\nRecommendation, upgrade firmware to actual release...\nSleep 5 sec...\033[0m\n"
|
||||||
sleep 5
|
sleep 5
|
||||||
printf "\033[32;1mRunning old scprit...\033[0m\n"
|
printf "\033[32;1mRunning old scprit...\033[0m\n"
|
||||||
wget --no-check-certificate -O /tmp/universal_config.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop/universal_config.sh && chmod +x /tmp/universal_config.sh && /tmp/universal_config.sh $1 $2
|
wget --no-check-certificate -O /tmp/universal_config.sh https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07/universal_config.sh && chmod +x /tmp/universal_config.sh && /tmp/universal_config.sh $1 $2
|
||||||
fi
|
fi
|
||||||
@@ -661,7 +661,7 @@ firewall
|
|||||||
https-dns-proxy
|
https-dns-proxy
|
||||||
youtubeUnblock
|
youtubeUnblock
|
||||||
dhcp"
|
dhcp"
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||||
|
|
||||||
checkPackageAndInstall "https-dns-proxy" "0"
|
checkPackageAndInstall "https-dns-proxy" "0"
|
||||||
|
|
||||||
@@ -1136,7 +1136,7 @@ service odhcpd restart
|
|||||||
|
|
||||||
path_podkop_config="/etc/config/podkop"
|
path_podkop_config="/etc/config/podkop"
|
||||||
path_podkop_config_backup="/root/podkop"
|
path_podkop_config_backup="/root/podkop"
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/new_awg_podkop"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/podkop07"
|
||||||
|
|
||||||
messageComplete=""
|
messageComplete=""
|
||||||
|
|
||||||
|
|||||||
@@ -1259,7 +1259,7 @@ case $varByPass in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
PACKAGE="podkop"
|
PACKAGE="podkop"
|
||||||
REQUIRED_VERSION="v0.7.1-r1"
|
REQUIRED_VERSION="v0.7.2-r1"
|
||||||
|
|
||||||
INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3)
|
INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3)
|
||||||
if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then
|
if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then
|
||||||
@@ -1285,9 +1285,9 @@ else
|
|||||||
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
|
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
|
||||||
DOWNLOAD_DIR="/tmp/podkop"
|
DOWNLOAD_DIR="/tmp/podkop"
|
||||||
mkdir -p "$DOWNLOAD_DIR"
|
mkdir -p "$DOWNLOAD_DIR"
|
||||||
podkop_files="podkop-v0.7.1-r1-all.ipk
|
podkop_files="podkop-v0.7.2-r1-all.ipk
|
||||||
luci-app-podkop-v0.7.1-r1-all.ipk
|
luci-app-podkop-v0.7.2-r1-all.ipk
|
||||||
luci-i18n-podkop-ru-0.7.1.ipk"
|
luci-i18n-podkop-ru-0.7.2.ipk"
|
||||||
for file in $podkop_files
|
for file in $podkop_files
|
||||||
do
|
do
|
||||||
echo "Download $file..."
|
echo "Download $file..."
|
||||||
|
|||||||
Reference in New Issue
Block a user