Subversion Repositories ALCASAR

Rev

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

Rev 88 Rev 92
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-uninstall.sh 88 2010-04-18 10:43:35Z richard $
2
# $Id: alcasar-uninstall.sh 92 2010-04-30 14:09:40Z 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
SED="/bin/sed -i"
7
SED="/bin/sed -i"
Line 103... Line 103...
103
if [ -e /etc/init.d/havp ]
103
if [ -e /etc/init.d/havp ]
104
then
104
then
105
	chkconfig --del havp && echo -n "1, "
105
	chkconfig --del havp && echo -n "1, "
106
	umount /var/tmp/havp && echo -n "2, "
106
	umount /var/tmp/havp && echo -n "2, "
107
	sleep 1
107
	sleep 1
108
	rm -rf /var/tmp/havp /var/log/havp /var/run/havp && echo -n "3, "
108
	rm -rf /var/tmp/havp /var/log/havp /var/run/havp /usr/local/etc/havp && echo -n "3, "
109
	rm -f /tmp/havp-disk && echo -n "4, "
109
	rm -f /tmp/havp-disk && echo -n "4, "
110
	$SED "/^# Entry for havp/d" /etc/fstab
110
	$SED "/^# Entry for havp/d" /etc/fstab
111
	$SED "/^\/tmp\/havp-disk/d" /etc/fstab && echo -n "5, "
111
	$SED "/^\/tmp\/havp-disk/d" /etc/fstab && echo -n "5, "
112
	userdel havp && echo -n "6"
112
	userdel havp && echo -n "6"
113
else	echo -n "non installé"
113
else	echo -n "non installé"