Subversion Repositories ALCASAR

Rev

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

Rev 447 Rev 448
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#  $Id: alcasar.sh 447 2011-01-11 16:31:51Z franck $ 
2
#  $Id: alcasar.sh 448 2011-01-11 19:42:06Z stephane $ 
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 830... Line 830...
830
coaport		3799
830
coaport		3799
831
include		/usr/local/etc/alcasar-uamallowed
831
include		/usr/local/etc/alcasar-uamallowed
832
include		/usr/local/etc/alcasar-uamdomain
832
include		/usr/local/etc/alcasar-uamdomain
833
include		/usr/local/etc/alcasar-macallowed
833
include		/usr/local/etc/alcasar-macallowed
834
EOF
834
EOF
835
# Création du fichiers ethers pour la fonctionnalité de DHCP static
-
 
836
	cp -f $DIR_CONF/alcasar-ethers /usr/local/etc/alcasar-ethers
-
 
837
# création des fichiers de sites, d'urls et d'adresses MAC de confiance
835
# création des fichiers de sites, d'urls et d'adresses MAC de confiance
838
	echo -e "uamallowed=\"\"" > /usr/local/etc/alcasar-uamallowed
836
	echo -e "uamallowed=\"\"" > /usr/local/etc/alcasar-uamallowed
839
	echo -e "uamdomain=\"\"" > /usr/local/etc/alcasar-uamdomain
837
	echo -e "uamdomain=\"\"" > /usr/local/etc/alcasar-uamdomain
840
	echo -e "macallowed=\"\"" > /usr/local/etc/alcasar-macallowed
838
	echo -e "macallowed=\"\"" > /usr/local/etc/alcasar-macallowed
841
	chown root:apache /usr/local/etc/alcasar-*
839
	chown root:apache /usr/local/etc/alcasar-*