Skip to content

Commit

Permalink
Disable dnsmasq dns redirect when use daed as proxy software
Browse files Browse the repository at this point in the history
  • Loading branch information
EkkoG committed Sep 23, 2023
1 parent bf6c77b commit 7757d13
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ files/root/*
!files/etc/uci-defaults/90-openclash
!files/etc/uci-defaults/91-system
!files/etc/uci-defaults/99-ipv6
!files/etc/uci-defaults/99-daed
!files/etc/uci-defaults-proxy-client

!files/etc/hotplug.d/
Expand Down
7 changes: 7 additions & 0 deletions files/etc/uci-defaults/99-daed
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
. /root/.config.init

if [ "$PROXY_CLIENT" != 'daed' ]; then
exit 0
fi

uci del dhcp.@dnsmasq[0].dns_redirect

0 comments on commit 7757d13

Please sign in to comment.