#!/bin/bash
if [ `whoami` != "root" ];then  
	echo "非root用户！"
	exit 0;
fi
mysql="mysql-server-*"
rm -rf /usr/lib/jvm/java
rm -rf /tmp/winit.lock
rm -rf /home/simba/simba/server
#rm -rf ./sh/rar/*
rm -rf /etc/mysql/*
mv ~/.bashrc.bak ~/.bashrc
mv /etc/rc.local.bak /etc/rc.local
apt-get autoremove --purge  ${mysql} -y
apt-get remove mysql-common
