mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-16 12:35:30 +08:00
change shutdown PDNS behaviour in SSR Plus
This commit is contained in:
parent
0ff0ac5cef
commit
3b798eccce
@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for SSR Plus
|
|||||||
LUCI_DEPENDS:=+shadowsocksr-libev +ipset +ip-full +iptables-mod-tproxy +dnsmasq-full +coreutils +coreutils-base64 +bash +pdnsd-alt +wget
|
LUCI_DEPENDS:=+shadowsocksr-libev +ipset +ip-full +iptables-mod-tproxy +dnsmasq-full +coreutils +coreutils-base64 +bash +pdnsd-alt +wget
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
PKG_VERSION:=1
|
PKG_VERSION:=1
|
||||||
PKG_RELEASE:=15
|
PKG_RELEASE:=16
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
|
@ -474,7 +474,7 @@ stop() {
|
|||||||
killall -q -9 ssr-server
|
killall -q -9 ssr-server
|
||||||
killall -q -9 ssr-kcptun
|
killall -q -9 ssr-kcptun
|
||||||
killall -q -9 ssr-local
|
killall -q -9 ssr-local
|
||||||
kill $(cat /var/run/pdnsd.pid) >/dev/null 2>&1 || killall -9 pdnsd >/dev/null 2>&1
|
kill $(cat /var/run/pdnsd.pid) >/dev/null 2>&1 || kill -9 $(ps | grep pdnsd | grep -v grep | awk '{print $1}') >/dev/null 2>&1
|
||||||
|
|
||||||
if [ -f "/tmp/dnsmasq.d/dnsmasq-ssr.conf" ]; then
|
if [ -f "/tmp/dnsmasq.d/dnsmasq-ssr.conf" ]; then
|
||||||
rm -f /tmp/dnsmasq.d/dnsmasq-ssr.conf
|
rm -f /tmp/dnsmasq.d/dnsmasq-ssr.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user