Subversion Repositories ALCASAR

Rev

Rev 3177 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3177 Rev 3179
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 3177 2024-03-01 18:32:19Z rexy $
2
#  $Id: alcasar.sh 3179 2024-03-03 23:23:58Z rexy $
3
 
3
 
4
# ALCASAR is a Free and open source NAC (Network Access Controler) created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
4
# ALCASAR is a Free and open source NAC (Network Access Controler) created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is based on a stripped Mageia (LSB) with the following open source softwares Coovachilli, freeradius, mariaDB, lighttpd, php, netfilter, e2guardian, ntpd, openssl, unbound, gammu, Ulog, fail2ban, vnstat, wkhtml2pdf, ipt_NETFLOW, NFsen and NFdump
5
# ALCASAR is based on a stripped Mageia (LSB) with the following open source softwares Coovachilli, freeradius, mariaDB, lighttpd, php, netfilter, e2guardian, ntpd, openssl, unbound, gammu, Ulog, fail2ban, vnstat, wkhtml2pdf, ipt_NETFLOW, NFsen and NFdump
6
# contact : info@alcasar.net
6
# contact : info@alcasar.net
7
 
7
 
Line 2335... Line 2335...
2335
		do
2335
		do
2336
			header_install
2336
			header_install
2337
			$func
2337
			$func
2338
			if [ $DEBUG_ALCASAR == "on" ]
2338
			if [ $DEBUG_ALCASAR == "on" ]
2339
			then
2339
			then
2340
				echo "*** 'debug' : end of function '$func' ***"
2340
				echo "*** 'debug' : end installing function '$func' ***"
2341
				read
2341
				read
2342
			fi
2342
			fi
2343
		done
2343
		done
2344
# RPMs install
2344
# RPMs install
2345
		$DIR_SCRIPTS/alcasar-rpm.sh
2345
		$DIR_SCRIPTS/alcasar-rpm.sh
Line 2419... Line 2419...
2419
		for func in init network CA ACC time_server init_db freeradius chilli e2guardian ulogd nfsen vnstat unbound dhcpd BL cron fail2ban gammu_smsd msec letsencrypt mail_service post_install
2419
		for func in init network CA ACC time_server init_db freeradius chilli e2guardian ulogd nfsen vnstat unbound dhcpd BL cron fail2ban gammu_smsd msec letsencrypt mail_service post_install
2420
		do
2420
		do
2421
			$func
2421
			$func
2422
			if [ $DEBUG_ALCASAR == "on" ]
2422
			if [ $DEBUG_ALCASAR == "on" ]
2423
			then
2423
			then
2424
				echo "*** 'debug' : end of function '$func' ***"
2424
				echo "*** 'debug' : end installing function '$func' ***"
2425
				read
2425
				read
2426
			fi
2426
			fi
2427
		done
2427
		done
2428
		;;
2428
		;;
2429
	-u | --uninstall)
2429
	-u | --uninstall)