mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-31 21:58:47 +03:00
Restore
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
|
|
||||||
config wdoc 'main'
|
|
||||||
option enabled '1'
|
|
||||||
option timeout '900'
|
|
||||||
option ping_ip '77.88.8.8'
|
|
||||||
option ping_domain 'ya.ru'
|
|
||||||
option curl_domain 'https://scbh.yandex.net/generate_204'
|
|
||||||
option firstboot '0'
|
|
||||||
option log '0'
|
|
||||||
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
|
|
||||||
config wdoc-singbox 'main'
|
|
||||||
option enabled '1'
|
|
||||||
option timeout '120'
|
|
||||||
option url_test 'facebook.com'
|
|
||||||
option log '0'
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
config wdoc-warp 'main'
|
|
||||||
option enabled '1'
|
|
||||||
option timeout '300'
|
|
||||||
option check_inet1 '77.88.8.8'
|
|
||||||
option check_inet2 '8.8.8.8'
|
|
||||||
option log '0'
|
|
||||||
|
|
||||||
config interface
|
|
||||||
option iface 'awg10'
|
|
||||||
option check_ip1 '8.8.8.8'
|
|
||||||
option check_ip2 '1.1.1.1'
|
|
||||||
option attempts '10'
|
|
||||||
|
|
||||||
@@ -673,8 +673,7 @@ URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/he
|
|||||||
|
|
||||||
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"
|
||||||
checkPackageAndInstall "luci-i18n-wdoc-singbox-ru" "1"
|
checkPackageAndInstall "luci-i18n-doh-proxy-ru" "1"
|
||||||
checkPackageAndInstall "luci-i18n-wdoc-warp-ru" "1"
|
|
||||||
|
|
||||||
if [ ! -d "$DIR_BACKUP" ]
|
if [ ! -d "$DIR_BACKUP" ]
|
||||||
then
|
then
|
||||||
@@ -688,7 +687,7 @@ then
|
|||||||
|
|
||||||
for file in $config_files
|
for file in $config_files
|
||||||
do
|
do
|
||||||
if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ] || [ "$file" == "wdoc" ] || [ "$file" == "wdoc-singbox" ] || [ "$file" == "wdoc-warp" ]
|
if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ]
|
||||||
then
|
then
|
||||||
wget -O "$DIR/$file" "$URL/config_files/$file"
|
wget -O "$DIR/$file" "$URL/config_files/$file"
|
||||||
fi
|
fi
|
||||||
@@ -1331,13 +1330,6 @@ fi
|
|||||||
# Включаем интерфейс
|
# Включаем интерфейс
|
||||||
#ifup $INTERFACE_NAME
|
#ifup $INTERFACE_NAME
|
||||||
|
|
||||||
service doh-proxy restart
|
|
||||||
service stubby restart
|
|
||||||
service wdoc restart
|
|
||||||
service wdoc-singbox restart
|
|
||||||
service wdoc-warp restart
|
|
||||||
service dns-failsafe-proxy restart
|
|
||||||
|
|
||||||
printf "\033[32;1mService Podkop and Sing-Box restart...\033[0m\n"
|
printf "\033[32;1mService Podkop and Sing-Box restart...\033[0m\n"
|
||||||
service sing-box enable
|
service sing-box enable
|
||||||
service sing-box restart
|
service sing-box restart
|
||||||
|
|||||||
Reference in New Issue
Block a user