Subversion Repositories ALCASAR

Rev

Rev 607 | Rev 672 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 607 Rev 615
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-uninstall.sh 607 2011-05-21 17:45:34Z richard $
2
# $Id: alcasar-uninstall.sh 615 2011-05-24 21:47:25Z richard $
3
 
3
 
4
# alcasar-uninstall.sh
4
# alcasar-uninstall.sh
5
# by 3abtux, angel95 and rexy
5
# by 3abtux, angel95 and rexy
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 45... Line 45...
45
[ -e /etc/pki/tls/certs/alcasar.crt ] && rm -f /etc/pki/tls/certs/alcasar.crt && echo -n "3, "
45
[ -e /etc/pki/tls/certs/alcasar.crt ] && rm -f /etc/pki/tls/certs/alcasar.crt && echo -n "3, "
46
[ -e /etc/pki/tls/private/alcasar.key ] && rm -f /etc/pki/tls/private/alcasar.key && echo -n "4"
46
[ -e /etc/pki/tls/private/alcasar.key ] && rm -f /etc/pki/tls/private/alcasar.key && echo -n "4"
47
sleep 1
47
sleep 1
48
 
48
 
49
#init_db
49
#init_db
50
echo -en "\n- init_db(1) : "
50
echo -en "\n- init_db(2) : "
51
[ -e /etc/my.cnf.default ] && mv -f /etc/my.cnf.default /etc/my.cnf && echo -n "1"
51
[ -e /etc/my.cnf.default ] && mv -f /etc/my.cnf.default /etc/my.cnf && echo -n "1, "
-
 
52
[ -e /etc/init.d/mysqld.default ] && mv -f /etc/init.d/mysqld.default /etc/init.d/mysqld && echo -n "2"
52
rm -rf /var/lib/mysql*
53
rm -rf /var/lib/mysql*
53
sleep 1
54
sleep 1
54
 
55
 
55
#param_radius
56
#param_radius
56
echo -en "\n- param_radius(7) : "
57
echo -en "\n- param_radius(7) : "