Delete .github/diy/patches/mosdns.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-09-06 13:33:57 +08:00
1 parent 5a17d85861
commit da7d5957ad
1 file changed
-6
-6
View File
@@ -1,6 +0,0 @@
--- a/luci-app-mosdns/root/etc/hotplug.d/iface/99-mosdns
+++ b/luci-app-mosdns/root/etc/hotplug.d/iface/99-mosdns
@@ -1,2 +1,2 @@
#!/bin/sh
-[ "$ACTION" = ifup ] && /etc/init.d/mosdns restart
+[[ "$ACTION" = ifup && "$(uci -q get mosdns.mosdns.enabled)" == 1 ]] && /etc/init.d/mosdns restart