Subversion Repositories ALCASAR

Rev

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

Rev 110 Rev 146
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: alcasar-uninstall.sh 110 2010-05-11 16:35:34Z richard $
2
# $Id: alcasar-uninstall.sh 146 2010-05-31 19:57:59Z franck $
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 9... Line 9...
9
echo "-----------------------------------------------------------------------------"
9
echo "-----------------------------------------------------------------------------"
10
echo "**                      Désinstallation d'ALCASAR                          **"
10
echo "**                      Désinstallation d'ALCASAR                          **"
11
echo "-----------------------------------------------------------------------------"
11
echo "-----------------------------------------------------------------------------"
12
echo
12
echo
13
#services_stop
13
#services_stop
14
for i in ntpd iptables ulogd dansguardian squid chilli httpd radiusd named freshclam havp
14
for i in ntpd iptables ulogd dansguardian squid chilli httpd radiusd named freshclam havp dhcpd
15
do
15
do
16
	[ -e /etc/init.d/$i ] && /sbin/chkconfig --del $i && /etc/init.d/$i stop
16
	[ -e /etc/init.d/$i ] && /sbin/chkconfig --del $i && /etc/init.d/$i stop
17
done
17
done
18
echo "Réinitialisation des fonctions : "
18
echo "Réinitialisation des fonctions : "
19
#init
19
#init