From 88d1ea7c463b5bc8f9ba014978f50e5a3dcf9063 Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Tue, 22 Nov 2022 14:58:53 +0800 Subject: [PATCH] luci-app-mosdns: init.d: fix typo --- luci-app-mosdns/root/etc/init.d/mosdns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-mosdns/root/etc/init.d/mosdns b/luci-app-mosdns/root/etc/init.d/mosdns index c2848f0..6c9e27b 100755 --- a/luci-app-mosdns/root/etc/init.d/mosdns +++ b/luci-app-mosdns/root/etc/init.d/mosdns @@ -144,7 +144,7 @@ start_service() { stop_service() { pgrep -f /usr/bin/mosdns | xargs kill -9 >/dev/null 2>&1 config_load "mosdns" - config_foreach get_config "config" + config_foreach get_config "mosdns" [ "$enabled" = "0" ] && [ -f "/etc/mosdns/redirect.lock" ] && restore_setting reload_others delcron