mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 05:22:58 +08:00
update
This commit is contained in:
commit
1741072933
93 files changed
+6216
No files matched your search
@@ -0,0 +1,6 @@
|
||||
--- 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