Fix bug DNS

This commit is contained in:
CodeRoK7
2025-11-27 18:31:52 +00:00
parent da4bf408b8
commit 3539fe995d

View File

@@ -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..."