Add config and restart packet wdoc

This commit is contained in:
CodeRoK7
2025-11-13 16:01:45 +00:00
parent b650220a2f
commit 2bbe0c5e5c
2 changed files with 12 additions and 1 deletions

10
config_files/wdoc Normal file
View 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'

View File

@@ -688,7 +688,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-singbox" ] || [ "$file" == "wdoc-warp" ] if [ "$file" == "doh-proxy" ] || [ "$file" == "dns-failsafe-proxy" ] || [ "$file" == "stubby" ] || [ "$file" == "wdoc" ] || [ "$file" == "wdoc-singbox" ] || [ "$file" == "wdoc-warp" ]
then then
wget -O "$DIR/$file" "$URL/config_files/$file" wget -O "$DIR/$file" "$URL/config_files/$file"
fi fi
@@ -1333,6 +1333,7 @@ fi
service doh-proxy restart service doh-proxy restart
service stubby restart service stubby restart
service wdoc restart
service wdoc-singbox restart service wdoc-singbox restart
service wdoc-warp restart service wdoc-warp restart
service dns-failsafe-proxy restart service dns-failsafe-proxy restart