mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-06 03:26:43 +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
|
||||
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..."
|
||||
|
||||
Reference in New Issue
Block a user