#!/bin/bash

wget http://update.aegis.aliyun.com/download/uninstall.sh

wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh

chmod +x uninstall.sh quartz_uninstall.sh

./uninstall.sh && ./quartz_uninstall.sh

pkill -9 aliyun-service

rm -rf /etc/init.d/agentwatch /usr/sbin/aliyun-service

rm -rf /usr/local/aegis* /usr/sbin/aliyun_installer

ps -ef | grep aliyun
