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 }