Created
November 10, 2024 11:16
-
-
Save bash99/22515059f91a0384504668e1126b963a to your computer and use it in GitHub Desktop.
Delete Aliyun Trash for debian 12 images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# modified base on kxn's scripts https://github.com/kxn/scripts/blob/master/CentOS/remove-aliyun-trash.sh | |
cd /tmp | |
wget http://update.aegis.aliyun.com/download/uninstall.sh | |
chmod +x uninstall.sh | |
./uninstall.sh | |
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh | |
chmod +x quartz_uninstall.sh | |
./quartz_uninstall.sh | |
pkill aliyun-service; rm -f /etc/systemd/system/aliyun.service ; systemctl daemon-reload | |
pkill assist_daemon; rm -f /etc/systemd/system/AssistDaemon.service; systemctl daemon-reload | |
rm -rf /usr/local/share/aliyun-assist /usr/local/share/assist-daemon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment