From 6114df1b3d095194fc19f90d721d42f72d9835ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=93=20Sync=202023-10-19=2009:19?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-app-mosdns/root/etc/mosdns/rule/adlist.txt | 0 luci-app-mosdns/root/etc/mosdns/rule/greylist.txt | 3 --- luci-app-mosdns/root/etc/mosdns/rule/whitelist.txt | 13 ------------- luci-app-mosdns/root/usr/share/mosdns/mosdns.sh | 2 +- 4 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 luci-app-mosdns/root/etc/mosdns/rule/adlist.txt diff --git a/luci-app-mosdns/root/etc/mosdns/rule/adlist.txt b/luci-app-mosdns/root/etc/mosdns/rule/adlist.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/luci-app-mosdns/root/etc/mosdns/rule/greylist.txt b/luci-app-mosdns/root/etc/mosdns/rule/greylist.txt index cab65c84..e69de29b 100644 --- a/luci-app-mosdns/root/etc/mosdns/rule/greylist.txt +++ b/luci-app-mosdns/root/etc/mosdns/rule/greylist.txt @@ -1,3 +0,0 @@ -domain:gstatic.com -domain:kernel.org -keyword:github diff --git a/luci-app-mosdns/root/etc/mosdns/rule/whitelist.txt b/luci-app-mosdns/root/etc/mosdns/rule/whitelist.txt index bf945677..98470876 100644 --- a/luci-app-mosdns/root/etc/mosdns/rule/whitelist.txt +++ b/luci-app-mosdns/root/etc/mosdns/rule/whitelist.txt @@ -6,19 +6,6 @@ domain:office.com domain:qlogo.cn domain:qq.com domain:redhat.com -keyword:aaplimg -keyword:aicdn -keyword:akadns -keyword:akamai -keyword:apple keyword:douyin -keyword:fclouddns -keyword:icloud -keyword:itunes keyword:microsoft -keyword:mzstatic -keyword:ssrcdn keyword:windows -keyword:xxpkg -keyword:yximgs -keyword:yxygslb diff --git a/luci-app-mosdns/root/usr/share/mosdns/mosdns.sh b/luci-app-mosdns/root/usr/share/mosdns/mosdns.sh index 0889f266..39b3d40b 100755 --- a/luci-app-mosdns/root/usr/share/mosdns/mosdns.sh +++ b/luci-app-mosdns/root/usr/share/mosdns/mosdns.sh @@ -46,7 +46,7 @@ get_adlist() ( fi done else - rm -rf /etc/mosdns/rule/adlist /etc/mosdns/rule/.ad_source /etc/mosdns/rule/adlist.txt + rm -rf /etc/mosdns/rule/adlist /etc/mosdns/rule/.ad_source touch /var/disable-ads.txt echo " - \"/var/disable-ads.txt\"" fi