From 3539fe995db219922a08d2b4cf908eccec189611 Mon Sep 17 00:00:00 2001 From: CodeRoK7 <58553260+CodeRoK7@users.noreply.github.com> Date: Thu, 27 Nov 2025 18:31:52 +0000 Subject: [PATCH] Fix bug DNS --- universal_config_new_podkop.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/universal_config_new_podkop.sh b/universal_config_new_podkop.sh index 381ae19..6744e65 100644 --- a/universal_config_new_podkop.sh +++ b/universal_config_new_podkop.sh @@ -650,12 +650,6 @@ else [ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp fi -#проверяем установлени ли пакет https-dns-proxy -if opkg list-installed | grep -q https-dns-proxy; then - echo "Delete packet https-dns-proxy..." - opkg remove --force-removal-of-dependent-packages "https-dns-proxy" -fi - printf "Setting confdir dnsmasq\n" uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d' uci commit dhcp @@ -682,6 +676,12 @@ checkPackageAndInstall "luci-i18n-wdoc-singbox-ru" "1" checkPackageAndInstall "luci-i18n-wdoc-warp-ru" "1" checkPackageAndInstall "luci-i18n-wdoc-wg-ru" "1" +#проверяем установлени ли пакет https-dns-proxy +if opkg list-installed | grep -q https-dns-proxy; then + echo "Delete packet https-dns-proxy..." + opkg remove --force-removal-of-dependent-packages "https-dns-proxy" +fi + if [ ! -d "$DIR_BACKUP" ] then echo "Backup files..."