From 32d646958c43d6ba1a8fd76f1b48cac29c99d39c Mon Sep 17 00:00:00 2001 From: sjtuross Date: Thu, 20 Oct 2022 17:02:10 +0800 Subject: [PATCH] luci: fix dnsmasq restart order (#2153) --- luci-app-passwall/root/usr/share/passwall/helper_dnsmasq.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-passwall/root/usr/share/passwall/helper_dnsmasq.sh b/luci-app-passwall/root/usr/share/passwall/helper_dnsmasq.sh index c82ae336a..7973a0ffe 100755 --- a/luci-app-passwall/root/usr/share/passwall/helper_dnsmasq.sh +++ b/luci-app-passwall/root/usr/share/passwall/helper_dnsmasq.sh @@ -45,8 +45,8 @@ logic_restart() { for server in $(uci -q get dhcp.@dnsmasq[0].server); do [ -n "$(echo $server | grep '\/')" ] || uci -q del_list dhcp.@dnsmasq[0].server="$server" done - /etc/init.d/dnsmasq restart >/dev/null 2>&1 restore_servers + /etc/init.d/dnsmasq restart >/dev/null 2>&1 else /etc/init.d/dnsmasq restart >/dev/null 2>&1 fi