mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-31 11:15:49 +03:00
Add config and restart packet wdoc
This commit is contained in:
10
config_files/wdoc
Normal file
10
config_files/wdoc
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
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'
|
||||
|
||||
@@ -688,7 +688,7 @@ then
|
||||
|
||||
for file in $config_files
|
||||
do
|
||||
if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ] || [ "$file" == "wdoc-singbox" ] || [ "$file" == "wdoc-warp" ]
|
||||
if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ] || [ "$file" == "wdoc" ] || [ "$file" == "wdoc-singbox" ] || [ "$file" == "wdoc-warp" ]
|
||||
then
|
||||
wget -O "$DIR/$file" "$URL/config_files/$file"
|
||||
fi
|
||||
@@ -1333,6 +1333,7 @@ fi
|
||||
|
||||
service doh-proxy restart
|
||||
service stubby restart
|
||||
service wdoc restart
|
||||
service wdoc-singbox restart
|
||||
service wdoc-warp restart
|
||||
service dns-failsafe-proxy restart
|
||||
|
||||
Reference in New Issue
Block a user