diff --git a/config_files/wdoc b/config_files/wdoc new file mode 100644 index 0000000..7e9796b --- /dev/null +++ b/config_files/wdoc @@ -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' + diff --git a/universal_config_new_podkop.sh b/universal_config_new_podkop.sh index 1b8aa9b..60030b5 100644 --- a/universal_config_new_podkop.sh +++ b/universal_config_new_podkop.sh @@ -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