更新 cns/cns.sh
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
#Stop cns & delete cns files.
|
#Stop cns & delete cns files.
|
||||||
Delete() {
|
Delete() {
|
||||||
systemctl disable cns.service
|
systemctl disable cns.service
|
||||||
rm -f /etc/init.d/cns /lib/systemd/system/cns.service
|
rm -f /etc/init.d/Acns /lib/systemd/system/cns.service
|
||||||
if [ -f "${cns_install_dir:=/usr/local/cns}/cns.init" ]; then
|
if [ -f "${cns_install_dir:=/usr/local/cns}/cns.init" ]; then
|
||||||
"$cns_install_dir"/cns.init stop
|
"$cns_install_dir"/cns.init stop
|
||||||
rm -rf "$cns_install_dir"
|
rm -rf "$cns_install_dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user