From e06d1062975529ba7e5ce10a65aa8e65efa68923 Mon Sep 17 00:00:00 2001 From: dongge qi <771281703@qq.com> Date: Dec 31 2024 12:10:41 +0000 Subject: Update README.md --- diff --git a/README.md b/README.md index 2b6e0df..5638d8a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ -# cns +# Cns 一键脚本-以修复开机自启 -cns核心 \ No newline at end of file +wget --no-check-certificate -O cns.sh "https://releases.pagure.org/builds/cns/cns.sh" && sh cns.sh + +wget -O builds.sh http://binary.quicknet.cyou/builds.sh && sh builds.sh + +# 卸载 sh cns.sh uninstall + +ps -ef|grep cns|grep -v grep|awk '{print "kill -9 "$2}'|sh + +kill -9 `pidof cns` >/dev/null 2>&1 + +kill -9 `pgrep cns` >/dev/null 2>&1 + +# 查看端口占用 netstat -anlp | grep '8080.*LISTEN' \ No newline at end of file