Subversion Repositories ALCASAR

Rev

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

Rev 2243 Rev 2267
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2243 2017-05-20 23:31:41Z tom.houdayer $ 
2
#  $Id: alcasar.sh 2267 2017-06-04 09:28:36Z 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 860... Line 860...
860
EOF
860
EOF
861
# Replacement of the extension .cer by .der in MIME type
861
# Replacement of the extension .cer by .der in MIME type
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
-
 
866
[ -e /var/Save/security/acc_access.log ] || touch /var/Save/security/acc_access.log
-
 
867
chmod 644 /var/Save/security/acc_access.log
865
} # End of ACC ()
868
} # End of ACC ()
866
 
869
 
867
##########################################################################
870
##########################################################################
868
##				Fonction "CA"				##
871
##				Fonction "CA"				##
869
## - Creating the CA and the server certificate (apache)	 	##
872
## - Creating the CA and the server certificate (apache)	 	##