| Line 1... |
Line 1... |
| 1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
| 2 |
# $Id: alcasar.sh 2233 2017-05-17 17:02:16Z richard $
|
2 |
# $Id: alcasar.sh 2234 2017-05-18 21:20:10Z 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 1217... |
Line 1217... |
| 1217 |
macup $DIR_DEST_BIN/alcasar-macup.sh
|
1217 |
macup $DIR_DEST_BIN/alcasar-macup.sh
|
| 1218 |
macdown $DIR_DEST_BIN/alcasar-macdown.sh
|
1218 |
macdown $DIR_DEST_BIN/alcasar-macdown.sh
|
| 1219 |
#dhcpgateway none
|
1219 |
#dhcpgateway none
|
| 1220 |
#dhcprelayagent none
|
1220 |
#dhcprelayagent none
|
| 1221 |
#dhcpgatewayport none
|
1221 |
#dhcpgatewayport none
|
| - |
|
1222 |
sslkeyfile /etc/pki/tls/private/alcasar.key
|
| - |
|
1223 |
sslcertfile /etc/pki/tls/certs/alcasar.crt
|
| - |
|
1224 |
redirssl
|
| 1222 |
EOF
|
1225 |
EOF
|
| 1223 |
# create file for DHCP static ip. Reserve the second IP address for INTIF (the first one is for tun0)
|
1226 |
# create file for DHCP static ip. Reserve the second IP address for INTIF (the first one is for tun0)
|
| 1224 |
echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers
|
1227 |
echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers
|
| 1225 |
# create files for trusted domains and urls
|
1228 |
# create files for trusted domains and urls
|
| 1226 |
touch $DIR_DEST_ETC/alcasar-uamallowed $DIR_DEST_ETC/alcasar-uamdomain
|
1229 |
touch $DIR_DEST_ETC/alcasar-uamallowed $DIR_DEST_ETC/alcasar-uamdomain
|