Subversion Repositories ALCASAR

Rev

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

Rev 2975 Rev 2979
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2975 2021-07-20 16:04:13Z rexy $
2
#  $Id: alcasar.sh 2979 2021-07-22 20:14:04Z 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, dnsmasq, unbound, gammu, clamav, 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, dnsmasq, unbound, gammu, clamav, Ulog, fail2ban, vnstat, wkhtml2pdf, ipt_NETFLOW, NFsen and NFdump
6
# contact : info@alcasar.net
6
# contact : info@alcasar.net
7
 
7
 
Line 2185... Line 2185...
2185
	echo "BL_SAFESEARCH=off" >> $CONF_FILE
2185
	echo "BL_SAFESEARCH=off" >> $CONF_FILE
2186
	echo "WL_SAFESEARCH=off" >> $CONF_FILE
2186
	echo "WL_SAFESEARCH=off" >> $CONF_FILE
2187
	echo "IOT_CAPTURE=off" >> $CONF_FILE
2187
	echo "IOT_CAPTURE=off" >> $CONF_FILE
2188
	echo "WIFI4EU=off" >> $CONF_FILE
2188
	echo "WIFI4EU=off" >> $CONF_FILE
2189
	echo "WIFI4EU_CODE=123e4567-e89b-12d3-a456-426655440000" >> $CONF_FILE
2189
	echo "WIFI4EU_CODE=123e4567-e89b-12d3-a456-426655440000" >> $CONF_FILE
2190
	echo "MULTIWAN=Off" >> $CONF_FILE
2190
	echo "MULTIWAN=off" >> $CONF_FILE
2191
# Prompt customisation (colors)
2191
# Prompt customisation (colors)
2192
	[ -e /etc/bashrc.default ]  || cp /etc/bashrc /etc/bashrc.default
2192
	[ -e /etc/bashrc.default ]  || cp /etc/bashrc /etc/bashrc.default
2193
	cp -f $DIR_CONF/bashrc /etc/. ; chmod 644 /etc/bashrc ; chown root:root /etc/bashrc
2193
	cp -f $DIR_CONF/bashrc /etc/. ; chmod 644 /etc/bashrc ; chown root:root /etc/bashrc
2194
	$SED "s?^ORGANISME.*?ORGANISME=$ORGANISME?g" /etc/bashrc
2194
	$SED "s?^ORGANISME.*?ORGANISME=$ORGANISME?g" /etc/bashrc
2195
	$SED "s?^alias ll=.*?alias ll=\"ls -al --color\"?g" /etc/profile.d/60alias.sh
2195
	$SED "s?^alias ll=.*?alias ll=\"ls -al --color\"?g" /etc/profile.d/60alias.sh