Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
luci-app-openclash: adapt to openwrt official dnsmasq modifiy. (#4140)
1、官方dnsmasq路径已变更为:/tmp/dnsmasq.cfgxxxxx.d(xxxxx为dnsmasq生成的配置ID),而目前openclash默认dnsmasq的路径为:/tmp/dnsmasq.d,如不做修改,会导致dns无法解析引起插件可正常运行但节点连接失败。 2、lede等旧版本的dnsmasq的路径仍为:/tmp/dnsmasq.d,考虑到此情况,本次修改自动判断官方和lede等新旧版本的dnsmasq路径,以便正确实现dns解析,并使节点正常链接。
- Loading branch information