diff --git a/.gitignore b/.gitignore index e212939..8d4ad1c 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/files/etc/uci-defaults/99-daed b/files/etc/uci-defaults/99-daed new file mode 100755 index 0000000..137644c --- /dev/null +++ b/files/etc/uci-defaults/99-daed @@ -0,0 +1,7 @@ +. /root/.config.init + +if [ "$PROXY_CLIENT" != 'daed' ]; then + exit 0 +fi + +uci del dhcp.@dnsmasq[0].dns_redirect \ No newline at end of file