编辑文件 cns.sh

This commit is contained in:
cnb.dg2025-08
2025-09-14 09:40:00 +08:00
committed by cnb
parent a4f90c0638
commit 947f9646ee
+1 -1
View File
@@ -6,7 +6,7 @@
#Stop cns & delete cns files. #Stop cns & delete cns files.
Delete() { Delete() {
systemctl disable Acns.service systemctl disable Acns.service
chkconfig --del cns chkconfig --del Acns
/etc/init.d/Acns disable /etc/init.d/Acns disable
if [ -f "${cns_install_dir:=/usr/local/cns}/cns.init" ]; then if [ -f "${cns_install_dir:=/usr/local/cns}/cns.init" ]; then