Subversion Repositories ALCASAR

Rev

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

Rev 476 Rev 477
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-uninstall.sh 476 2011-02-06 20:31:31Z richard $
2
# $Id: alcasar-uninstall.sh 477 2011-02-06 21:24:27Z 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 104... Line 104...
104
 
104
 
105
#antivirus
105
#antivirus
106
echo -en "\n- antivirus(3) : "
106
echo -en "\n- antivirus(3) : "
107
if [ -e /etc/init.d/havp ] 
107
if [ -e /etc/init.d/havp ] 
108
	then
108
	then
109
	$SED "/^# Entry for havp/d" /etc/fstab
-
 
110
	$SED "/^\/tmp\/havp-disk/d" /etc/fstab && echo -n "1, "
109
	$SED "/havp/d" /etc/fstab && echo -n "1, "
111
	[ -e /etc/havp/havp.config.default ] && mv /etc/havp/havp.config.default /etc/havp/havp.config && echo -n "2, "
110
	[ -e /etc/havp/havp.config.default ] && mv /etc/havp/havp.config.default /etc/havp/havp.config && echo -n "2, "
112
	userdel -r havp && echo -n "3"
111
	userdel -r havp && echo -n "3"
113
else	echo -n "non installé"
112
else	echo -n "non installé"
114
fi
113
fi
115
sleep 1
114
sleep 1