Subversion Repositories ALCASAR

Rev

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

Rev 3292 Rev 3294
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 3292 2025-07-09 17:54:58Z rexy $
2
#  $Id: alcasar.sh 3294 2025-07-20 22:26:38Z 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, apache, 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, apache, 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 2311... Line 2311...
2311
	echo "WL_SAFESEARCH=off" >> $CONF_FILE
2311
	echo "WL_SAFESEARCH=off" >> $CONF_FILE
2312
	echo "IOT_CAPTURE=off" >> $CONF_FILE
2312
	echo "IOT_CAPTURE=off" >> $CONF_FILE
2313
	echo "WIFI4EU=off" >> $CONF_FILE
2313
	echo "WIFI4EU=off" >> $CONF_FILE
2314
	echo "WIFI4EU_CODE=123e4567-e89b-12d3-a456-426655440000" >> $CONF_FILE
2314
	echo "WIFI4EU_CODE=123e4567-e89b-12d3-a456-426655440000" >> $CONF_FILE
2315
	echo "MULTIWAN=off" >> $CONF_FILE
2315
	echo "MULTIWAN=off" >> $CONF_FILE
-
 
2316
	echo "REPLICATION=off" >> $CONF_FILE
-
 
2317
	echo "REPLICATION_TO=" >> $CONF_FILE
2316
# Prompt customisation (colors)
2318
# Prompt customisation (colors)
2317
	[ -e /etc/bashrc.default ]  || cp /etc/bashrc /etc/bashrc.default
2319
	[ -e /etc/bashrc.default ]  || cp /etc/bashrc /etc/bashrc.default
2318
	cp -f $DIR_CONF/bashrc /etc/. ; chmod 644 /etc/bashrc ; chown root:root /etc/bashrc
2320
	cp -f $DIR_CONF/bashrc /etc/. ; chmod 644 /etc/bashrc ; chown root:root /etc/bashrc
2319
	$SED "s?^ORGANISME.*?ORGANISME=$ORGANISME?g" /etc/bashrc
2321
	$SED "s?^ORGANISME.*?ORGANISME=$ORGANISME?g" /etc/bashrc
2320
	$SED "s?^alias ll=.*?alias ll=\"ls -al --color\"?g" /etc/profile.d/60alias.sh
2322
	$SED "s?^alias ll=.*?alias ll=\"ls -al --color\"?g" /etc/profile.d/60alias.sh