Subversion Repositories ALCASAR

Rev

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

Rev 604 Rev 605
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#  $Id: alcasar.sh 604 2011-05-15 21:23:10Z richard $ 
2
#  $Id: alcasar.sh 605 2011-05-18 20:43:43Z 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 820... Line 820...
820
coaport		3799
820
coaport		3799
821
include		$DIR_DEST_ETC/alcasar-uamallowed
821
include		$DIR_DEST_ETC/alcasar-uamallowed
822
include		$DIR_DEST_ETC/alcasar-uamdomain
822
include		$DIR_DEST_ETC/alcasar-uamdomain
823
include		$DIR_DEST_ETC/alcasar-macallowed
823
include		$DIR_DEST_ETC/alcasar-macallowed
824
EOF
824
EOF
825
# Pour la fonctionnalité de DHCP statique, le fichier alcasar-ethers a été copié précédemment dans /usr/local/etc
825
# création du fichier d'allocation d'adresses IP statiques
-
 
826
	touch $DIR_DEST_ETC/alcasar-ethers
826
# création des fichiers de sites, d'urls et d'adresses MAC de confiance
827
# création des fichiers de sites, d'urls et d'adresses MAC de confiance
827
	echo -e "uamallowed=\"\"" > $DIR_DEST_ETC/alcasar-uamallowed
828
	echo -e "uamallowed=\"\"" > $DIR_DEST_ETC/alcasar-uamallowed
828
	echo -e "uamdomain=\"\"" > $DIR_DEST_ETC/alcasar-uamdomain
829
	echo -e "uamdomain=\"\"" > $DIR_DEST_ETC/alcasar-uamdomain
829
	touch $DIR_DEST_ETC/alcasar-macallowed
830
	touch $DIR_DEST_ETC/alcasar-macallowed
830
	chown root:apache $DIR_DEST_ETC/alcasar-*
831
	chown root:apache $DIR_DEST_ETC/alcasar-*