Subversion Repositories ALCASAR

Rev

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

Rev 3005 Rev 3035
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-uninstall.sh 3005 2022-04-26 22:12:46Z rexy $
2
# $Id: alcasar-uninstall.sh 3035 2022-07-07 22:49:04Z rexy $
3
 
3
 
4
# alcasar-uninstall.sh
4
# alcasar-uninstall.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
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 365... Line 365...
365
done
365
done
366
 
366
 
367
[ $mode == "update" ] && /usr/bin/systemctl reload sshd # reload sshd in case of remote update
367
[ $mode == "update" ] && /usr/bin/systemctl reload sshd # reload sshd in case of remote update
368
 
368
 
369
echo "Reset ALCASAR main functions : "
369
echo "Reset ALCASAR main functions : "
370
for func in init ACC CA time_server init_db freeradius chilli e2guardian antivirus ulogd nfsen vnstat unbound dnsmasq dhcpd cron fail2ban gammu_smsd msec letsencrypt post_install
370
for func in init ACC CA time_server init_db freeradius chilli e2guardian antivirus ulogd nfsen vnstat unbound dnsmasq dhcpd cron fail2ban gammu_smsd msec letsencrypt mail_service post_install
371
do
371
do
372
	echo -en "\n- $func "
372
	echo -en "\n- $func "
373
	$func
373
	$func
374
	if [ $DEBUG_ALCASAR == "on" ]; then
374
	if [ $DEBUG_ALCASAR == "on" ]; then
375
		echo -n " *** 'debug' : end of cleaning '$func' *** "
375
		echo -n " *** 'debug' : end of cleaning '$func' *** "