mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-09 13:06:44 +03:00
Fix bug DNS
This commit is contained in:
@@ -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
|
[ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp
|
||||||
fi
|
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"
|
printf "Setting confdir dnsmasq\n"
|
||||||
uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d'
|
uci set dhcp.@dnsmasq[0].confdir='/tmp/dnsmasq.d'
|
||||||
uci commit dhcp
|
uci commit dhcp
|
||||||
@@ -675,6 +669,12 @@ checkPackageAndInstall "luci-app-dns-failsafe-proxy" "1"
|
|||||||
checkPackageAndInstall "luci-i18n-stubby-ru" "1"
|
checkPackageAndInstall "luci-i18n-stubby-ru" "1"
|
||||||
checkPackageAndInstall "luci-i18n-doh-proxy-ru" "1"
|
checkPackageAndInstall "luci-i18n-doh-proxy-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" ]
|
if [ ! -d "$DIR_BACKUP" ]
|
||||||
then
|
then
|
||||||
echo "Backup files..."
|
echo "Backup files..."
|
||||||
|
|||||||
Reference in New Issue
Block a user