refactor: remove direct DNS mode

This commit is contained in:
benya
2026-07-21 20:24:25 +03:00
parent 5e4e659cae
commit 15b5b7f792
33 changed files with 24 additions and 1148 deletions

View File

@@ -60,10 +60,6 @@ temporary="${SHELL_CONFIG}.tmp"
printf 'ENROLLMENT_TOKEN="%s"\n' "$(escape_value "$enrollment_token")"
printf 'INTERVAL_SECONDS="%s"\n' "$(escape_value "$(uci_get interval_seconds)")"
printf 'CHECK_TARGETS="%s"\n' "$(escape_value "$(uci_get check_targets)")"
printf 'DIRECT_DNS_ENABLED="%s"\n' "$(escape_value "$(uci_get direct_dns_enabled)")"
printf 'DNS_UPDATE_INTERVAL_SECONDS="%s"\n' "$(escape_value "$(uci_get dns_update_interval_seconds)")"
printf 'PUBLIC_IPV4_URL="%s"\n' "$(escape_value "$(uci_get public_ipv4_url)")"
printf 'PUBLIC_IPV6_URL="%s"\n' "$(escape_value "$(uci_get public_ipv6_url)")"
printf 'TUNNEL_IDENTITY_FILE="%s"\n' "$(escape_value "$(uci_get tunnel_identity_file)")"
printf 'DEVICE_ID="%s"\n' "$(escape_value "$device_id")"
printf 'DEVICE_TOKEN="%s"\n' "$(escape_value "$device_token")"