Subversion Repositories ALCASAR

Rev

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

Rev 2267 Rev 2269
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2267 2017-06-04 09:28:36Z richard $ 
2
#  $Id: alcasar.sh 2269 2017-06-04 10:42:26Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 862... Line 862...
862
$SED "s?^application/pkix-cert.*?application/pkix-cert		der?g" /etc/mime.types
862
$SED "s?^application/pkix-cert.*?application/pkix-cert		der?g" /etc/mime.types
863
# Launch after coova (in order to wait tun0 to be up)
863
# Launch after coova (in order to wait tun0 to be up)
864
$SED "s?^After=.*?After=network.target remote-fs.target nss-lookup.target chilli.service?g" /lib/systemd/system/httpd.service
864
$SED "s?^After=.*?After=network.target remote-fs.target nss-lookup.target chilli.service?g" /lib/systemd/system/httpd.service
865
# Log file for ACC access imputability
865
# Log file for ACC access imputability
866
[ -e /var/Save/security/acc_access.log ] || touch /var/Save/security/acc_access.log
866
[ -e /var/Save/security/acc_access.log ] || touch /var/Save/security/acc_access.log
-
 
867
chown root:apache /var/Save/security/acc_access.log
867
chmod 644 /var/Save/security/acc_access.log
868
chmod 664 /var/Save/security/acc_access.log
868
} # End of ACC ()
869
} # End of ACC ()
869
 
870
 
870
##########################################################################
871
##########################################################################
871
##				Fonction "CA"				##
872
##				Fonction "CA"				##
872
## - Creating the CA and the server certificate (apache)	 	##
873
## - Creating the CA and the server certificate (apache)	 	##