Subversion Repositories ALCASAR

Rev

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

Rev 734 Rev 735
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 734 2011-10-12 17:09:24Z richard $ 
2
#  $Id: alcasar.sh 735 2011-10-12 17:13:08Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.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 1589... Line 1589...
1589
			mode="install"
1589
			mode="install"
1590
		fi
1590
		fi
1591
		for func in init network gestion AC init_db param_radius param_web_radius param_chilli param_squid param_dansguardian antivirus param_ulogd param_awstats param_dnsmasq BL cron post_install
1591
		for func in init network gestion AC init_db param_radius param_web_radius param_chilli param_squid param_dansguardian antivirus param_ulogd param_awstats param_dnsmasq BL cron post_install
1592
		do
1592
		do
1593
			$func
1593
			$func
1594
 echo "*** 'debug' : end of function $func ***"; read a
1594
# echo "*** 'debug' : end of function $func ***"; read a
1595
		done
1595
		done
1596
		;;
1596
		;;
1597
	-u | --uninstall)
1597
	-u | --uninstall)
1598
		if [ ! -e $DIR_DEST_SBIN/alcasar-uninstall.sh ]
1598
		if [ ! -e $DIR_DEST_SBIN/alcasar-uninstall.sh ]
1599
		then
1599
		then