Add config file wdoc-wg

This commit is contained in:
CodeRoK7
2025-11-14 10:35:53 +00:00
parent 3b7b7b2320
commit 2f1d2d3767
2 changed files with 16 additions and 2 deletions

13
config_files/wdoc-wg Normal file
View File

@@ -0,0 +1,13 @@
config wdoc-wg 'main'
option enabled '1'
option timeout '900'
option log '0'
option dns1 '77.88.8.8'
option dns2 '8.8.8.8'
config interface
option iface 'awg10'
option ip '172.16.0.1'
option check_inet '1'

View File

@@ -671,7 +671,8 @@ dns-failsafe-proxy
stubby
wdoc
wdoc-singbox
wdoc-warp"
wdoc-warp
wdoc-wg"
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/wdoctrack"
checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
@@ -693,7 +694,7 @@ then
for file in $config_files
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" ] || [ "$file" == "wdoc" ] || [ "$file" == "wdoc-singbox" ] || [ "$file" == "wdoc-warp" ] || [ "$file" == "wdoc-wg" ]
then
wget -O "$DIR/$file" "$URL/config_files/$file"
fi