mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-10 18:34:18 +08:00
Delete .github/diy/patches/mosdns.patch
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user