Create cc-cleaner.sh
This commit is contained in:
28
cc-cleaner.sh
Executable file
28
cc-cleaner.sh
Executable file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user