mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-30 18:58:08 +03:00
Compare commits
1 Commits
wdoctrack
...
zapret2712
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0feef7b06a |
@@ -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/wdoctrack"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||||
|
|
||||||
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/wdoctrack"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||||
|
|
||||||
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/wdoctrack"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||||
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/wdoctrack"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||||
DIR="/etc/config"
|
DIR="/etc/config"
|
||||||
DIR_BACKUP="/root/backup"
|
DIR_BACKUP="/root/backup"
|
||||||
config_files="dhcp
|
config_files="dhcp
|
||||||
|
|||||||
@@ -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/wdoctrack/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/zapret271225/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/wdoctrack/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/zapret271225/universal_config.sh && chmod +x /tmp/universal_config.sh && /tmp/universal_config.sh $1 $2
|
||||||
fi
|
fi
|
||||||
@@ -670,7 +670,7 @@ wdoc
|
|||||||
wdoc-singbox
|
wdoc-singbox
|
||||||
wdoc-warp
|
wdoc-warp
|
||||||
wdoc-wg"
|
wdoc-wg"
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||||
|
|
||||||
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
|
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
|
||||||
checkPackageAndInstall "luci-i18n-stubby-ru" "1"
|
checkPackageAndInstall "luci-i18n-stubby-ru" "1"
|
||||||
@@ -796,13 +796,13 @@ curl -f -o /dev/null -k --connect-to ::google.com -L -H "Host: mirror.gcr.io" --
|
|||||||
# Проверяем код выхода
|
# Проверяем код выхода
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
printf "\033[32;1mzapret well work...\033[0m\n"
|
printf "\033[32;1mzapret well work...\033[0m\n"
|
||||||
#cronTask="0 4 * * * service zapret restart"
|
cronTask="0 4 * * * service zapret restart"
|
||||||
#str=$(grep -i "0 4 \* \* \* service zapret restart" /etc/crontabs/root)
|
str=$(grep -i "0 4 \* \* \* service zapret restart" /etc/crontabs/root)
|
||||||
#if [ -z "$str" ]
|
if [ -z "$str" ]
|
||||||
#then
|
then
|
||||||
#echo "Add cron task auto reboot service zapret..."
|
echo "Add cron task auto reboot service zapret..."
|
||||||
#echo "$cronTask" >> /etc/crontabs/root
|
echo "$cronTask" >> /etc/crontabs/root
|
||||||
#fi
|
fi
|
||||||
str=$(grep -i "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root)
|
str=$(grep -i "0 4 \* \* \* service youtubeUnblock restart" /etc/crontabs/root)
|
||||||
if [ ! -z "$str" ]
|
if [ ! -z "$str" ]
|
||||||
then
|
then
|
||||||
@@ -1189,7 +1189,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/wdoctrack"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||||
|
|
||||||
messageComplete=""
|
messageComplete=""
|
||||||
|
|
||||||
|
|||||||
@@ -667,7 +667,7 @@ wdoc
|
|||||||
wdoc-singbox
|
wdoc-singbox
|
||||||
wdoc-warp
|
wdoc-warp
|
||||||
wdoc-wg"
|
wdoc-wg"
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||||
|
|
||||||
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
|
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
|
||||||
checkPackageAndInstall "luci-i18n-stubby-ru" "1"
|
checkPackageAndInstall "luci-i18n-stubby-ru" "1"
|
||||||
@@ -1185,7 +1185,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/wdoctrack"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/zapret271225"
|
||||||
|
|
||||||
messageComplete=""
|
messageComplete=""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user