Subversion Repositories ALCASAR

Rev

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

Rev 2032 Rev 2077
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2032 2016-08-15 16:18:45Z richard $ 
2
#  $Id: alcasar.sh 2077 2016-11-29 15:47:25Z franck $ 
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 848... Line 848...
848
	Allow from 127.0.0.1
848
	Allow from 127.0.0.1
849
	Allow from $PRIVATE_NETWORK_MASK
849
	Allow from $PRIVATE_NETWORK_MASK
850
	ErrorDocument 404 https://$HOSTNAME.$DOMAIN
850
	ErrorDocument 404 https://$HOSTNAME.$DOMAIN
851
</Directory>
851
</Directory>
852
EOF
852
EOF
-
 
853
# Replacement of the extension .cer by .der in MIME type
-
 
854
$SED "s?^application/pkix-cert.*?application/pkix-cert		der?g" /etc/mime.types
853
# Launch after coova (in order to wait tun0 to be up)
855
# Launch after coova (in order to wait tun0 to be up)
854
$SED "s?^After=.*?After=network.target remote-fs.target nss-lookup.target chilli.service?g" /lib/systemd/system/httpd.service
856
$SED "s?^After=.*?After=network.target remote-fs.target nss-lookup.target chilli.service?g" /lib/systemd/system/httpd.service
855
} # End of ACC ()
857
} # End of ACC ()
856
 
858
 
857
##########################################################################
859
##########################################################################