From 2e965167cb13b411dd99a42df0295fb6c3700f9e Mon Sep 17 00:00:00 2001 From: dongge Date: Mon, 15 Sep 2025 06:21:51 +0200 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20cns.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cns.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cns.sh b/cns.sh index 00199b9..209f78b 100644 --- a/cns.sh +++ b/cns.sh @@ -12,6 +12,7 @@ Delete() { "$cns_install_dir"/cns.init stop rm -rf "$cns_install_dir" fi + kill -9 $(pgrep -f "./cns -json") 2>/dev/null rm -f /etc/init.d/cns /lib/systemd/system/cns.service /etc/rc.d/rc5.d/S99cns /etc/rc.d/S99cns /etc/rc5.d/S99cns }