Subversion Repositories ALCASAR

Rev

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

Rev 478 Rev 489
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-uninstall.sh 478 2011-02-07 23:17:10Z richard $
2
# $Id: alcasar-uninstall.sh 489 2011-02-13 17:32:07Z 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 106... Line 106...
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 "/havp/d" /etc/fstab && echo -n "1, "
109
	$SED "/havp/d" /etc/fstab && echo -n "1, "
110
	[ -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, "
111
	userdel -r havp && echo -n "3"
111
	userdel -r havp 2>/dev/null && echo -n "3"
112
else	echo -n "non installé"
112
else	echo -n "non installé"
113
fi
113
fi
114
sleep 1
114
sleep 1
115
#firewall
115
#firewall
116
echo -en "\n- firewall(1) : "
116
echo -en "\n- firewall(1) : "