From 86662d66227ce9d08b4e2e8a697385bfedd4f672 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 28 Mar 2022 21:42:25 -0500 Subject: [PATCH] Create cc-cleaner.sh --- cc-cleaner.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 cc-cleaner.sh diff --git a/cc-cleaner.sh b/cc-cleaner.sh new file mode 100755 index 0000000..2fbbea7 --- /dev/null +++ b/cc-cleaner.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash + +source /dev/stdin <<< "$(curl -sL http://scity.xyz/colorsinc)" +source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)" + + +echo "" +echo -e "${idsCL[LightGreen]}Cluster Control Removal Script${idsCL[Default]}" +echo "" + + +apt remove --purge clustercontrol* +rm -Rf /etc/cmon.d +rm -Rf /var/www/clustercontrol +apt remove --purge mysql-server* +rm -Rf /var/lib/cmon +rm -Rf /var/lib/prometheus +apt remove --purge "mysql*" +apt remove --purge "*s9s*" +apt autoremove +apt clean +apt remove --purge apache2 +rm -Rf /etc/apache2 +rm -Rf /var/www +apt remove --purge "php*" +rm -Rf /etc/php +install-cc uninstall +